bummer, my fault. with trunk shell

>>> q = db.auth_event.id > 0
>>> q &= db.auth_event.time_stamp < request.now
>>> db(q)._select()
"SELECT  auth_event.id, auth_event.time_stamp, auth_event.client_ip, 
auth_event.user_id, auth_event.origin, auth_event.description FROM 
auth_event WHERE ((auth_event.id > 0) AND (auth_event.time_stamp < 
'2013-04-26 09:39:08'));"
>>> q &= db.auth_event.time_stamp >= request.now
>>> db(q)._select()
"SELECT  auth_event.id, auth_event.time_stamp, auth_event.client_ip, 
auth_event.user_id, auth_event.origin, auth_event.description FROM 
auth_event WHERE (((auth_event.id > 0) AND (auth_event.time_stamp < 
'2013-04-26 09:39:08')) AND (auth_event.time_stamp >= '2013-04-26 
09:39:08'));"



seems to work ok

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to