On Thursday, March 8, 2018 at 10:28:38 AM UTC-5, Leonel Câmara wrote: > > Record versioning uses a common filter. > > Common filters do not work if you do not provide a query which is what > happens when you do: > > db().select(db.test.ALL) > > You need to do: > > db(db.test.id > 0).select(db.test.ALL) >
I believe the query in question is: query = (test2.type_marker=='object') | (test2.type_marker==None) & (test1. type_marker=='person') rows = current.db(query).select(test1.title, test2.title, left=test2.on( test1.id==test2.granny)) So, there is a query being passed to db(). Anthony -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.