[ANN] Pure Ruby Postgres Database Interface Postgres-Pr 0.2.0 Release

xiaoxiao2021-03-06  69

With Postgres-P, you can use Ruby to access the PostgreSQL database without extending with C. However, only the latest 7.x uses Wire-Protocol 3 databases available. Simple example of installation:

> Gem Install Postgres-PR The then can be programmed: Require 'Postgres-PR / Connection' C = Connection.new ('DBNAME', 'DBUSER') C.Query ('SELECT 1 2') # => ["3"]] DBNAME, DBUSER to replace yourself. Project Home: http://rubyforge.org/projects/ruby-dbi

转载请注明原文地址:https://www.9cbs.com/read-90032.html

New Post(0)