RubyGems Navigation menu

rdo 0.0.1

Ruby Data Objects

If you’re building something in Ruby that needs access to a database, you may opt to use an ORM like ActiveRecord, DataMapper or Sequel. But if your needs don’t fit well with an ORM (maybe you’re even writing an ORM?) then you’ll need some other way of talking to your database.

RDO provides a common interface to a number of RDBMS backends, using a clean Ruby syntax, while supporting all the functionality you’d expect from a robust database connection library:

- Connect to different types of RDBMS in a consistent way
- Type casting
- Safe parameterization of queries
- Buffered query results
- Fetching meta data from executed commands
- Access RETURNING values just like any read query
- Prepared statements (emulated where no native support exists)
- Simple core ruby data types

RDBMS Support

Support for each RDBMS is provided in separate gems, so as to minimize the installation requirements. Many gems are maintained by separate users who work more closely with those RDBMS’s.

Due to the nature of this gem, most of the nitty-gritty code is actually written in C.

See the official README for full details.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.8 - October 28, 2012 (23 KB)
  2. 0.1.7 - October 24, 2012 (23 KB)
  3. 0.1.6 - October 14, 2012 (23 KB)
  4. 0.1.5 - October 11, 2012 (22.5 KB)
  5. 0.1.4 - October 11, 2012 (22.5 KB)
  6. 0.0.1 - September 24, 2012 (17.5 KB)
Show all versions (17 total)

Development Dependencies (1):

rspec >= 0

Owners:

Authors:

  • d11wtq

SHA 256 checksum:

f16d7343772a811bd6f55db6392552e977f168ae35a967004d23b647953bc9bc

Total downloads 49,441

For this version 3,000

Licenses:

N/A

Required Ruby Version: None

Links: