Skip to main content
Version: Next

Module: knex

Enumerations#

Classes#

Interfaces#

References#

SqlEntityManager#

Renames and exports: EntityManager


SqlEntityRepository#

Renames and exports: EntityRepository

Type aliases#

Field#

Ƭ Field<T>: string | keyof T | KnexStringRef | Knex.QueryBuilder

Type parameters#

Name
T

Defined in#

packages/knex/src/typings.ts:16


KnexStringRef#

Ƭ KnexStringRef: Knex.Ref<string, Object>

Defined in#

packages/knex/src/typings.ts:12

Variables#

MonkeyPatchable#

Const MonkeyPatchable: Object

Type declaration#

NameType
Clientany
MySqlDialectany
PostgresDialectTableCompilerany
QueryExecutionerany
Sqlite3Dialectany
Sqlite3DialectTableCompilerany
TableCompilerany

Defined in#

packages/knex/src/MonkeyPatchable.ts:20

Functions#

knex#

knex<TRecord, TResult>(config): Knex<TRecord, TResult>

Type parameters#

NameType
TRecordextends Object``any
TResultunknown[]

Parameters#

NameType
configKnex.Config | string

Returns#

Knex<TRecord, TResult>

Defined in#

node_modules/knex/types/index.d.ts:388