4 ms·
The DataMapper ORM allows you to use SQL but still return domain objects: http://rubydoc.info/github/datamapper/dm-ar-finders/master/DataMapper/Model:find_by_sq
by dkubb 15y ago
The DataMapper ORM allows you to use SQL but still return domain objects: http://rubydoc.info/github/datamapper/dm-ar-finders/master/DataMapper/Model:find_by_sql http://rubydoc.info/github/datamapper/dm-ar-finders/master/D...
Maybe the gp doesn't know about it or chooses not to use it, but it exists.
- apsurd 15y agothanks for this! You are right I had no idea this existed. Just goes to show I really should read the source over depending on datamapper.org/docs/ too much.