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)

group_by will be added as a method to ResultSet soonishly.

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