Vasile Ermicioi Sat, 12 Mar 2011 14:16:03 -0800
1==0 is a boolean not a query,
empty_result = db(db.prod.id<0).select() # I suppose that you don't have negative ids :)