psycopg in python script
garry <[email protected]>
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
How can I access a Psycopg_database_connection within a python script.
So far I have this which only returns a connection instance, but I want
to pass the connection a query string.
query1=context.Psycopg_database_connection('select * from studentdetails')
return query1
Regards
Garry