PostgresUnitOfWork module (ska_db_oda.unit_of_work.postgresunitofwork)
- class ska_db_oda.unit_of_work.postgresunitofwork.PostgresUnitOfWork(connection_pool: psycopg_pool.ConnectionPool | None = None)[source]
A PostgreSQL implementation of the UoW which persists data in an instance of PostgreSQL specified in the initialisation config
- commit() None [source]
Implementation of the AbstractUnitOfWork method.
See
commit()
docstring for details
- rollback() None [source]
Implementation of the AbstractUnitOfWork method.
See
rollback()
docstring for details