PostgresUnitOfWork module (ska_db_oda.persistence.unitofwork.postgresunitofwork)
- class ska_db_oda.persistence.unitofwork.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