@ckirg/corelib - v0.4.1
    Preparing search index...

    Class PostgresDriver

    Core interface for database drivers. All dialect-specific drivers (Postgres, SQLite, etc.) must implement this. This ensures a consistent API for database operations across different storage engines.

    Implements

    Index
    • Reserves one pooled connection and returns a driver bound to it. BEGIN, every statement in the transaction, and COMMIT/ROLLBACK all run on that single connection; the pool would otherwise spread them across connections. The connection is returned to the pool on commit, rollback or release().

      Returns Promise<PostgresDriver>