---- On Sun, 08 Feb 2015 18:06:39 -0300 Jim Steil wrote ---- >Vinicius - I'd be interested in learning more about your method. Can you >point me to some reading or examples? Which one? a) Don't expect a returning object from db.define_table(). b) "migrate=False". c) Creating modules? > > > >On Fri, Feb 6, 2015 at 4:48 AM, Vinicius Assef ><list-web...@viniciusban.eu.org> wrote: >Dont't define a table the way you did. > > I.e, don't expect a return object from db.define_table() when creating a lazy > table because it doesn't exist, actually. > > About performance, I got good results simply setting "migrate=False" and > creating modules, instead of creating global functions in models. > > >
-- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.