AndCycle schrieb: > On May 14, 11:36 pm, "Gregory W. Bond" <[EMAIL PROTECTED]> wrote: > > precisely the info i was looking for - thanks! > > > > On May 14, 11:04 am, Jonathan LaCour <[EMAIL PROTECTED]> > > wrote: > > > If you need those query, you should take a look at sqlalchemy query > object, > > http://www.sqlalchemy.org/docs/tutorial.html#tutorial_orm_query
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) Cheers, Chris -- http://www.cmlenz.net/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
