RubyGems Navigation menu

dm-sql-finders 0.0.1

dm-sql-finders add #by_sql to your DataMapper models and provides a clean mechanism for using the names of the properties in your model, instead of the actual fields in the database. Any SQL is supported and actual DataMapper Query objects wrap the SQL, thus delaying its execution until a kicker method materializes the records for the query. \ You can also chain standard DataMapper query methods onto the #by_sql call to refine the query.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.0.3 - October 20, 2011 (15 KB)
  2. 0.0.2 - October 17, 2011 (14.5 KB)
  3. 0.0.1 - October 17, 2011 (14 KB)

Runtime Dependencies (2):

dm-core >= 1.2.0
dm-do-adapter >= 1.2.0

Development Dependencies (4):

dm-aggregates >= 1.2.0
dm-migrations >= 1.2.0
rspec ~> 2.6

Owners:

Authors:

  • d11wtq

SHA 256 checksum:

2440aad5d28ea40cc41c87b5de20fc23b7f7f29bd293b6de479f96e9a869687a

Total downloads 82,510

For this version 3,658

Licenses:

N/A

Required Ruby Version: None

Links: