sure, add them as tables, but chances are you'll get weird things happening if any updates or deletes are done.
On Monday, February 17, 2014 12:53:00 PM UTC-7, [email protected] wrote: > > Hi List, > So, I have a sqlite database which has some views in that I want to > access. The database isn't a web2py one (and can't be made so). I use the > web2py extract_sqlite_models.py script to create the models. This creates a > long file looking something like this: > > legacy_db = DAL('sqlite://db.sqlite') > > > legacy_db.define_table('table1', > migrate=False) > > .... > > #-------- > legacy_db.define_table('table1', > migrate=False) > > But I can't see any Views referenced in there. Can I use web2py to access > views in a "legacy" database? > > Thanks > -- 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/groups/opt_out.

