Skip to content

Commit 04140e3

Browse files
authored
feat: allow raw sql connection access (#52)
1 parent b5e0021 commit 04140e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/postgres/base-pg-store.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ export abstract class BasePgStore {
2929
const sqlContext = sqlTransactionContext.getStore();
3030
return sqlContext ? sqlContext[dbName] : this._sql;
3131
}
32-
private readonly _sql: PgSqlClient;
32+
/** The raw SQL client instance. */
33+
readonly _sql: PgSqlClient;
3334

3435
constructor(sql: PgSqlClient) {
3536
this._sql = sql;

0 commit comments

Comments
 (0)