Skip to main content
Version: 4.4

Interface: WhereRaw<TRecord, TResult>#

knex.Knex.WhereRaw

Type parameters#

NameDefault
TRecordany
TResultunknown[]

Hierarchy#

Callable#

WhereRaw(condition: boolean): QueryBuilder<TRecord, TResult>

Parameters:#

NameType
conditionboolean

Returns: QueryBuilder<TRecord, TResult>

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

WhereRaw<TResult2>(sql: string, bindings?: null | string | number | boolean | Date | Buffer | string[] | number[] | Date[] | boolean[] | Raw<any> | ValueDict | QueryBuilder<any, any> | readonly RawBinding[]): QueryBuilder<TRecord, TResult2>

Type parameters:#

NameDefault
TResult2TResult

Parameters:#

NameType
sqlstring
bindings?null | string | number | boolean | Date | Buffer | string[] | number[] | Date[] | boolean[] | Raw<any> | ValueDict | QueryBuilder<any, any> | readonly RawBinding[]

Returns: QueryBuilder<TRecord, TResult2>

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

WhereRaw<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:1487

Last updated on by Martin Adámek