Registry / database / postgres-pr

postgres-pr

JSON →
library0.7.0rbrubygemsunverified

A pure Ruby interface to PostgreSQL databases (version 7.4 and above) without native extensions.

gem install postgres-pr
INSTALL
IMPORT
SIG · POSTGRES-PR
P
postgres-pr
databaserubyv0.7.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PostgresPR
✓ require 'postgres-pr'

Connect to a PostgreSQL database and run a query

require 'postgres-pr/connection' conn = PostgresPR::Connection.new('dbname=test', 'localhost', 5432) result = conn.query("SELECT * FROM users") result.each do |row| puts row.inspect end
Debug
Known issues
gotchaPure Ruby implementation may be slower than native gems like pg.
fix
Consider using the 'pg' gem for better performance in production.
affects: >= 0.7.0
Upgrade
Version history
0.7.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
Resources
postgres-pr — gem install postgres-pr · libregistry