You can use from the command line

-S Run in shell mode
appname connect with an app
-M execute the app models

$python web2py.py -S appname -M

to generate SQL code you have to use _ before DAL methods such as:

db(...)_select()

2010/11/9 blackthorne <[email protected]>

> Is there a way so that I can use all web2py operations, such as
> generating the SQL code from the model definition from the command-
> line or is the web interface our only option?
>
> Thank you
> Best regards




-- 

http://rochacbruno.com.br

Reply via email to