Glossary: PostgreSQL for Developers
with block
Also written: with
A Python statement that sets something up and cleans it up at the end. With a psycopg connection it commits on normal exit, rolls back if an exception escapes, and closes either way.
Glossary: PostgreSQL for Developers
Also written: with
A Python statement that sets something up and cleans it up at the end. With a psycopg connection it commits on normal exit, rolls back if an exception escapes, and closes either way.