Support for psycopg2 extensions

35 views
Skip to first unread message

Dan Koch

unread,
Jun 14, 2012, 2:46:21 PM6/14/12
to we...@googlegroups.com
Is it possible to get access to the psycopg2 lobject class through web.py? If not, how about the result from the psycopg2.connect() method?

smallfish

unread,
Jun 15, 2012, 3:11:12 AM6/15/12
to we...@googlegroups.com
use the db instance, example:

db = web.db.database(dbn='mysql', ...)

now, use: "db.ctx.db" like db connection obj
--


On Fri, Jun 15, 2012 at 2:46 AM, Dan Koch <self.d...@gmail.com> wrote:
Is it possible to get access to the psycopg2 lobject class through web.py? If not, how about the result from the psycopg2.connect() method?

--
You received this message because you are subscribed to the Google Groups "web.py" group.
To view this discussion on the web visit https://groups.google.com/d/msg/webpy/-/PfUngn5jc78J.
To post to this group, send email to we...@googlegroups.com.
To unsubscribe from this group, send email to webpy+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webpy?hl=en.

Reply all
Reply to author
Forward
0 new messages