I would use the native Python adapter for what you want to do. There is less code to load and execute, thus less memory, less time and fewer opportunities for error.
The only possible drawback is you will need to write some SQL. On Thursday, July 3, 2014 12:53:34 AM UTC-4, Mayank Kumar wrote: > > Hi, > I am working on a project where I need to update the website database > outside web2py, i mean outside an standard HTTP request. For example, I > have another server where TCP request comes, and I need to update one table > in the database. Also, I have views defined inside web2py which prints out > entry from the same tables. > > I am planning to use DAL for the database access outside web2py ( > http://www.web2py.com/AlterEgo/default/show/215). But, I am curious - > What sort additional of care should I take while coding this as write > (outside web2py) and read (in some views of the website) can happen > simultaneously. > > 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/d/optout.

