Hi,
sometimes we use prefixes to identify tables, like:
myapp_mytable
I use it because I have only one DB per site - and one site can have
multiple apps.
But is very painful to do db.myapp_mytable.somefield.
So, I request a new feature:
db.define_table('myapp_mytable',
shortcut='mytable',
SQLField(...),
...
)
So I can use both db.mytable and db.myapp_mytable.
Ok, I can do:
db.mytable = db.myapp_mytable
But it don't work in SQLRows when I search more than one table.
Massimo, what do you think?
--
Álvaro Justen
Peta5 - Telecomunicações e Software Livre
21 3021-6001 / 9898-0141
http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---