Christopher Lenz wrote:

> I've started using query objects with Elixir to be able to make use of
> the new SelectResults-style behavior:
>
>   movies =
> Movie.query().filter_by(Movie.c.year>=1980).order_by(Movie.c.title)
>
> I wonder whether this style will be a bit more prominently supported
> in a future Elixir version?  Maybe simply provide a shortcut for the
> query() function, i.e.:
>
>   movies =
> Movie.q.filter_by(Movie.c.year>=1980).order_by(Movie.c.title)

Hm, I like this idea very much, and would love to see a patch.  Hint,
hint :)

--
Jonathan LaCour
http://cleverdevil.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to