pianoman wrote:

> For example, I cannot seem to get a handle on creating
> something equivalent to the likes of
>
> select max(ref_num) from document where ref_num < '9000'

documents = Document.q.select(Document.c.ref_num < 9000)

... have fun!

--
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