[storm] Testing the existance of values quickly

Gustavo Niemeyer gustavo at niemeyer.net
Thu Sep 27 14:13:08 BST 2007


Hello,

> How do I quickly test if there are results in the resultset?

You can use bool(result.count()) or bool(result.any()).

-- 
Gustavo Niemeyer
http://niemeyer.net



More information about the storm mailing list