postgresAdapter()
Adapter for using Postgres as data source for Lexora
Param
string as connection or ExtendedPostgresAdapterOptions
Param
ExtendedPostgresAdapterOptions for configuring the adapter
Author
Simon Kovtyk
Since
1.0.0
Call Signature
ts
function postgresAdapter<T>(options?): AsyncAdapterFnReturn;Defined in: adapter.ts:25
Adapter for using Postgres as data source for Lexora
Type Parameters
| Type Parameter |
|---|
T extends Record<string, PostgresType<any>> |
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | ExtendedPostgresAdapterOptions<T> | ExtendedPostgresAdapterOptions for configuring the adapter |
Returns
AsyncAdapterFnReturn
A AsyncAdapterFnReturn that'll be picked up by lexora
Author
Simon Kovtyk
Since
1.0.0
Call Signature
ts
function postgresAdapter<T>(url, options?): AsyncAdapterFnReturn;Defined in: adapter.ts:39
Adapter for using Postgres as data source for Lexora
Type Parameters
| Type Parameter |
|---|
T extends Record<string, PostgresType<any>> |
Parameters
| Parameter | Type | Description |
|---|---|---|
url | string | string as connection |
options? | ExtendedPostgresAdapterOptions<T> | ExtendedPostgresAdapterOptions for configuring the adapter |
Returns
AsyncAdapterFnReturn
A AsyncAdapterFnReturn that'll be picked up by lexora
Author
Simon Kovtyk
Since
1.0.0