Registry / database / rdo
library0.1.8rbrubygemsunverified

RDO provides a common Ruby interface to multiple RDBMS backends with type casting, time zone handling, and native prepared statements.

gem install rdo
INSTALL
IMPORT
SIG · RDO
R
rdo
databaserubyv0.1.8
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.

RDO
require 'rdo'

Connect to a database and execute a query.

require 'rdo' conn = RDO.connect('postgres://user:pass@localhost/db') result = conn.execute('SELECT * FROM users LIMIT 1') puts result.first['name']
Debug
Known issues
gotchaDriver gems must be installed separately for each RDBMS (e.g., rdo-postgres, rdo-mysql).
fix
Add the appropriate driver gem to your Gemfile, e.g., gem 'rdo-postgres'.
affects: >= 0.1.0
Upgrade
Version history
0.1.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
10
Meta
1
Amazon
1
Resources
rdo — gem install rdo · libregistry