Interface

WhereOption

WhereOption

Exposes the WHERE method and remaining options

View Source query/options.ts, line 118

Extends

Methods

# build() → {Q}

Method to build and validate the prepared statement before the execution;

.

Method to build and validate the prepared statement before the execution;

Inherited From:

View Source query/options.ts, line 21

for invalid statements

QueryError
Q

# groupBy(selector) → {Executor}

Groups records by an attribute

Parameters:
Name Type Description
selector GroupBySelector
Inherited From:

View Source query/options.ts, line 40

Executor

# limit(selector) → {OffsetOption}

Limits the results to the provided number

Parameters:
Name Type Description
selector LimitSelector
Inherited From:

View Source query/options.ts, line 78

OffsetOption

# offset(selector) → {Executor}

Offsets the results by the provided selector

Parameters:
Name Type Description
selector OffsetSelector
Inherited From:

View Source query/options.ts, line 59

Executor

# orderBy(selector) → {LimitOption|OffsetOption}

Orders the results by the provided attribute and according to the provided direction

Parameters:
Name Type Description
selector OrderBySelector
Inherited From:

View Source query/options.ts, line 97

# where(condition) → {OrderAndGroupOption}

filter the records by a condition

Parameters:
Name Type Description
condition Condition

View Source query/options.ts, line 129