On 3 July 2014 06:53, Mayank Kumar <[email protected]> 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.
>
>
>
> The database backend should handle this.  I am using Postgresql.  All that
web2py does is generate a query and send it to the backend in a transaction
which is handled by the backend.

I see no problem therefore updateing a table from outside web2py.

Regards
Johann


-- 
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)

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

Reply via email to