On Mon, Nov 19, 2012 at 1:55 AM, Kees Bos <[email protected]> wrote:

> On Sun, 2012-11-18 at 15:30 -0800, Marcio Andrey Oliveira wrote:
> > Hi.
> >
> > Thank you for replying.
> >
> > So the python library to access the database will be converted into
> > javascript code?
>
> Nope. You don't access the database directly from you pyjs client. A
> typically setup is to have a json server and a pyjs client. The json
> server executes the commands and accesses the database server (if any).


You can access postgresql directly from a pyjd client using psycopg. That's
the first link I gave Marcio.

You can access postgresql from javascript running in node.js using this:
https://github.com/brianc/node-postgres

-- 



Reply via email to