postgresKvStorage
function postgresKvStorage(table, exec): CompareAndSwapKvStorage;Defined in: src/storage/postgres.ts:141
The KV operations over a table that already exists (semi-public, ADR 0004): exec resolves a
ready client before every operation. createPostgresStorage is this plus
pgConnection and pgReady.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
table |
string |
exec |
() => Promise<SqlClient> |