Hello,
I would know if there is any issue that could happen if I connect directly
to the database with psycopg2...
Something like this in modules :
import psycopg2
from petl import *
connection = psycopg2.connect("dbname='db' user='user' password='pwd'
host='localhost'")
table1 = fromdb(connection, "SELECT * FROM table")
I would have use dal directly inside the petl fromdb(db.executesql('select
* from table')) to avoid an other database connection, but petl fromdb have
strict requirement...
I read in the pass that petl integration was planning, but is there any
body working on this??
Thanks
Richard
--
---
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.