PostgresAdapterConfig
Defined in: src/adapters/postgres.ts:37
Config accepted by postgresAdapter() - client, table prefix, store toggles.
Properties
Section titled “Properties”client
Section titled “client”client:
PostgresClient
Defined in: src/adapters/postgres.ts:39
PostgreSQL client instance (pg Pool, postgres.js, etc.).
stores?
Section titled “stores?”
optionalstores:object
Defined in: src/adapters/postgres.ts:43
Selectively enable/disable individual stores. All enabled by default.
cache?
Section titled “cache?”
optionalcache:boolean
circuitBreaker?
Section titled “circuitBreaker?”
optionalcircuitBreaker:boolean
rateLimit?
Section titled “rateLimit?”
optionalrateLimit:boolean
tablePrefix?
Section titled “tablePrefix?”
optionaltablePrefix:string
Defined in: src/adapters/postgres.ts:41
Table name prefix. Default: "stoma_".
waitUntil()?
Section titled “waitUntil()?”
optionalwaitUntil: (promise) =>void
Defined in: src/adapters/postgres.ts:49
Schedule background work that outlives the response.
Parameters
Section titled “Parameters”promise
Section titled “promise”Promise<unknown>
Returns
Section titled “Returns”void