There are conditional models in web2py.  Normal flow control statements can
be used to reduce the number of definitions too.


2014/1/17 Anthony <[email protected]>

> On Friday, January 17, 2014 10:01:35 AM UTC-5, Arnon Marcus wrote:
>>
>> I am trying to shave-off the needless DDL model definition in each
>> request - when you have hundreds of tables with (cumulatively) thousands of
>> fields,
>>
>
> Are there requests where you need to use all or most of the database
> tables, or do you typically need only a handful of tables in any given
> request? If the latter, there is certainly no need to define all the tables
> on every request.
>
> Anthony
>
> --
> 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.
>

-- 
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.

Reply via email to