The first question you might answer is: how would you do this without
web2py? What are your steps?
Then, you can ask - how does web2py get into this, and what web2py
facilities (if any) do something like this?
A few observations:
If you 'create' a web2py table definition for an existing table,
so what I can do if I have database already created? I would like
simply to connect db and see if tables exists...
by the way, metadata used by web2py to recognize tables created by
itself is working only on sqlite, or on other db also?
On Jun 11, 3:46 pm, mdipierro wrote:
> if you set migrate=T
if you set migrate=True web2py does the check for you and eventually
creates tables. It can only detect tables if they were created by
web2py itself since it uses metadata for that purpose.
On Jun 11, 7:25 am, mika wrote:
> hi i would like to make my application generate database at startup
> (st
3 matches
Mail list logo