You need to define your tables in web2py. As of yet there is no db introspection for db.
db.define_table('tablename', *Fields) There is also a thing called "keyedtables" which is for legacy databases. -Thadeus On Fri, Mar 19, 2010 at 10:44 AM, pacopyc <paco...@gmail.com> wrote: > Hi, I need to develope a web application with legacy database > (Oracle). Database's tables have an auto increment field (id) and then > this is ok. I tried to build a new application and I set database > connection (db.py). No error (connection string is ok) but if I try to > use "appadmin" application I can't see database's tables. Can I build > models from tables automatically? Is this the problem? What can I do? > Anything similar inspectdb of Django? Also with Rails no problem, I > don't understand ... can you help me? > > Thank you > > -- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.