Common filters only add to query, but I need to change/replace fields/expressions .
Now I think of monkeypatch'ing Set 'select' method (probably inside of objects.py, because I guess Set is imported in different places). Or maybe I don't need to touch pydal files, if I monkeypatch from db.py some XAdapter in DAL ADAPTERS. I hope it is single point of XAdapter import.. Ps: class method monkeypatching seems quite straightforward https://tryolabs.com/blog/2013/07/05/run-time-method-patching-python/ 2017-03-10 04:28 popiet "Leonel Câmara" <[email protected]> rašė: > Note that you can do what you want the first feature for, easily with > common filters: > http://www.web2py.com/books/default/chapter/29/06/the- > database-abstraction-layer#Common-filters > > -- > 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 a topic in the > Google Groups "web2py-users" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/web2py/c_BMpcUu8Vg/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

