use the db instance, example: db = web.db.database(dbn='mysql', ...)
now, use: "db.ctx.db" like db connection obj -- blog: http://chenxiaoyu.org On Fri, Jun 15, 2012 at 2:46 AM, Dan Koch <[email protected]> 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 [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/webpy?hl=en. > -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.
