Is it at all possible to construct a query using Datamapper, that allows one to use subqueries passed to an order by?
For example: select users.id from users order by (select count(*) from mods where mods.owner_id = users.id) asc; ken. -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To view this discussion on the web visit https://groups.google.com/d/msg/datamapper/-/krWfkCz1_Z0J. To post to this group, send email to datamapper@googlegroups.com. To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.