Heston, Heston James wrote: > Hi, > > Thanks for the response, that gave me a good foot in the door to this. > I've now appened my existing query with. > > .order_by('myobject.created')[:1000] > Just tried this on a simple example:
query = query.limit(500) Quote from doc for 0.5rc1: *def limit(/self/, /limit/)* Apply a LIMIT to the query and return the newly resulting Query. *def offset(/self/, /offset/)* Apply an OFFSET to the query and return the newly resulting Query. *def slice(/self/, /start/, /stop/)* apply LIMIT/OFFSET to the Query based on a range and return the newly resulting Query. Werner --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---