Skip to main content

Class: SqlBinding

Constructors

new SqlBinding()

new SqlBinding(state: Readonly<SqlBindingState>): SqlBinding

Parameters

ParameterType
stateReadonly<SqlBindingState>

Returns

SqlBinding

Defined in

packages/verse-core/src/db/sql.ts:33

Accessors

eager

get eager(): undefined | boolean

Returns

undefined | boolean

Defined in

packages/verse-core/src/db/sql.ts:66


element

get element(): undefined | SqlNode

Returns

undefined | SqlNode

Defined in

packages/verse-core/src/db/sql.ts:51


join

get join(): undefined | boolean

Returns

undefined | boolean

Defined in

packages/verse-core/src/db/sql.ts:70


klass

get klass(): undefined | Newable<unknown>

Returns

undefined | Newable<unknown>

Defined in

packages/verse-core/src/db/sql.ts:35


model

get model(): undefined | AbstractModel

Returns

undefined | AbstractModel

Defined in

packages/verse-core/src/db/sql.ts:55


name

get name(): undefined | string

Returns

undefined | string

Defined in

packages/verse-core/src/db/sql.ts:39


nullable

get nullable(): undefined | boolean

Returns

undefined | boolean

Defined in

packages/verse-core/src/db/sql.ts:43


type

get type(): undefined | SqlType

Returns

undefined | SqlType

Defined in

packages/verse-core/src/db/sql.ts:47

Methods

merge()

merge(binding: SqlBinding): SqlBinding

Parameters

ParameterType
bindingSqlBinding

Returns

SqlBinding

Defined in

packages/verse-core/src/db/sql.ts:82


scope()

scope(object: SqlIdentifier): SqlBinding

Parameters

ParameterType
objectSqlIdentifier

Returns

SqlBinding

Defined in

packages/verse-core/src/db/sql.ts:86


withType()

withType(type?: SqlType): SqlBinding

Parameters

ParameterType
type?SqlType

Returns

SqlBinding

Defined in

packages/verse-core/src/db/sql.ts:74