Hi, 

I want to have extra features for select(..)
And the codebase is already quite big -- imo best would be to implement the 
features transparently...

I guess I could make derivative of Set class
and override __call__ and select (and maybe _select) If I need this only 
for reading information?

or should I think of making/deriving Adapter (in my case Postgre and maybe 
Sqlite)?


ps.:
The features I want to have:
 - our system stores translations for names of different items from 
different tables...  And I  decorate query and args for select(..) on the 
fly  (src 
<https://github.com/dz0/web2py_grand_helpers/blob/72910a0b82e7e50de6d09b635cfd7855f85abc65/plugins/modules/plugin_AnySQLFORM/GrandRegister.py#L564>
)
 - virtual fields would know what extra  fields/Expressions they need (src 
<https://github.com/dz0/web2py_grand_helpers/blob/72910a0b82e7e50de6d09b635cfd7855f85abc65/plugins/controllers/plugin_AnySQLFORM.py#L544>
)

-- 
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.

Reply via email to