RubyGems Navigation menu

dm-sql-finders 0.0.3

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.

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)

Authors:

  • d11wtq

Owners:

F855324f298eb7708e39ea117477cbd5

Total downloads 8,696

For this version 6,146

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'dm-sql-finders', '~> 0.0.3' = Copy to clipboard Copied!

install:
gem install dm-sql-finders = Copy to clipboard Copied!

Links: