When a field in a table of models has a datetime as below,
db.define_table('tablename', ..., Field('time', 'datetime') )I want to use the time value to query latest update of entries. So I figured that below might achieve the purpose: db.((db.tablename.account== id) & (db.tablename.time > lastupdate)).select() , where lastupdate is datetime object. The problem is that the query selects as if the latter condition is not there.

