[storm] how to know an empty result set

shawn bright nephish at gmail.com
Sun Jul 29 15:35:00 BST 2007


Hey there all. I had a couple of questions about an empty result set.

first, what is returned if a result set is empty ? I am assuming a None
type....
second, is it the same if i use the one() to select just one row.

is it the same for a store.find(Person, name == u'joe').one() as it is for
store.get(Person, 23) ?

thanks

shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/storm/attachments/20070729/8f9e4c8e/attachment.htm 


More information about the storm mailing list