Skip to main content
Version: 4.4

Interface: As<TRecord, TResult>#

knex.Knex.As

Type parameters#

Name
TRecord
TResult

Hierarchy#

  • As

Callable#

As(columnName: keyof TRecord): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnNamekeyof TRecord

Returns: QueryBuilder<TRecord, TResult>

Defined in: node_modules/knex/types/index.d.ts:899

As(columnName: string): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
columnNamestring

Returns: QueryBuilder<TRecord, TResult>

Defined in: node_modules/knex/types/index.d.ts:900

Last updated on by Martin Adámek