[sqlalchemy] Re: negative indexes in query slices?

2009-08-24 Thread King Simon-NFHD78
-Original Message- From: sqlalchemy@googlegroups.com [mailto:sqlalch...@googlegroups.com] On Behalf Of john smallberries Sent: 24 August 2009 08:51 To: sqlalchemy Subject: [sqlalchemy] negative indexes in query slices? I just tried limiting a query to the final 10 items of a

[sqlalchemy] Re: negative indexes in query slices?

2009-08-24 Thread john smallberries
An error would be swell. I'd already moved on to the saner solution you mentioned, but was curous about the dont-say-limit-just-say-slice advice I had seen, since I'd reflexively written it that way against an ordered index query. On Aug 24, 7:21 am, Michael Bayer mike...@zzzcomputing.com wrote: