On 9/12/07, Christopher Armstrong <[EMAIL PROTECTED]> wrote:
> On 9/12/07, Vsevolod Balashov <[EMAIL PROTECTED]> wrote:
> > Hello!
> >
> > Using Storm, I found a nasty drawback:
> >
> > With Store.find() can I get a list of objects using different conditions 
> > WHERE.
> > I can even use the OFFSET and LIMIT through
> > Store.find(...).config(offset, limit)
> > that can be useful in web-applications. IMHO this design with "config" is 
> > uglu.
>
> ResultSet supports slicing, which is implemented in terms of offset
> and limit. Store.find(...).config(offset, offset+limit)

This is what happens when I write email before coffee. I meant to say:

Store.find(...)[offset:offset+limit]

-- 
Christopher Armstrong
International Man of Twistery
http://radix.twistedmatrix.com/
http://twistedmatrix.com/
http://canonical.com/

-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to