Skip to main content
Version: 4.5

Interface: As<TRecord, TResult>#

knex.Knex.As

Type parameters#

Name
TRecord
TResult

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:900

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

Parameters:#

NameType
columnNamestring

Returns: QueryBuilder<TRecord, TResult>

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

Last updated on by Renovate Bot