Hi Akira,

akira wrote:
> Is there an actual LIMIT clause? If yes, could someone show an example
> of its use?

You can use the following, in addition to the slicing method Chris
suggested:

result = store.find(Person, Person.name.like("Bob%"))
result.config(limit=5, offset=2)

Note, that you can also pass 'distinct=True' to ResultSet.config to
make it use 'SELECT DISTINCT' queries.

Hope this helps,
J.


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

Reply via email to