Just out of curiosity, can I find out the name of the variable storing
the SQLDB object from a field?.
One usually defines :
db=SQLDB(...)
db.define_table('table', SQLField('field1'),...)
if f=db.table.field1
then f.name is 'field1'
and f._tablename='table'
is there an easy way to get 'db'?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---