Skip to main content
Version: 4.5

Interface: RawQueryBuilder<TRecord, TResult>#

knex.Knex.RawQueryBuilder

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Hierarchy#

Callable#

RawQueryBuilder<TResult2>(sql: string, bindings?: ValueDict | Value | QueryBuilder<any, any> | readonly (Value | QueryBuilder<any, any>)[]): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameDefault
TResult2TResult

Parameters:#

NameType
sqlstring
bindings?ValueDict | Value | QueryBuilder<any, any> | readonly (Value | QueryBuilder<any, any>)[]

Returns: QueryBuilder<TRecord, TResult2>

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

RawQueryBuilder<TResult2>(raw: Raw<TResult2>): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameDefault
TResult2TResult

Parameters:#

NameType
rawRaw<TResult2>

Returns: QueryBuilder<TRecord, TResult2>

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

Last updated on by Martin Adámek