ruby2.5-rubygem-pg
Pg is the Ruby interface to the PostgreSQL RDBMS


Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]. It works with {PostgreSQL 9.2 and later}[http://www.postgresql.org/support/versioning/]. A small example usage: require 'pg' conn = PG.connect( dbname: 'sales' ) conn.exec( "SELECT * FROM pg_stat_activity" ) do |result| puts " PID | User | Query" result.each do |row| puts " %7d | | %s " % row.values_at('procpid', 'usename', 'current_query') end end.

BSD-2-Clause

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...