RubyGems Navigation menu

pg 0.19.0

Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.1 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: #!/usr/bin/env ruby require 'pg' # Output a table of current connections to the DB conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | %-16s | %s " % row.values_at('procpid', 'usename', 'current_query') end end

Versions:

  1. 1.2.3 - March 18, 2020 x86-mingw32 (1,83 Mo)
  2. 1.2.3 - March 18, 2020 x64-mingw32 (2,02 Mo)
  3. 1.2.3 - March 18, 2020 (192 ko)
  4. 1.2.2 - January 08, 2020 x64-mingw32 (2,02 Mo)
  5. 1.2.2 - January 08, 2020 x86-mingw32 (1,83 Mo)
  6. 0.19.0 - September 22, 2016 (224 ko)
Voir toutes les versions (159)

Propriétaires:

Auteurs:

  • Michael Granger, Lars Kanis

Total de contrôle SHA 256:

927c41c5d103922c1b2492419802ee92057a5122c7a45064e31b39d08ed8f42e

Total de téléchargements 139 039 327

Pour cette version 6 452 676

Gemfile:
= Copier Copié!

installation:
=

License:

BSD-3-Clause

Version de Ruby requise: >= 2.0.0

Liens: