Skip to content
# Function: createPostgresAdapter()

createPostgresAdapter(client, options?): AshibaPostgresAdapter

Defined in: packages/driver-adapter-pg/src/index.ts:153

Create a thin adapter around a pg-compatible client or pool.

Parameters

client

NodePostgresQueryable

options?

AshibaPostgresAdapterOptions = {}

Returns

AshibaPostgresAdapter

Released under the MIT License.