Interface

OrderByOption

OrderByOption

Exposes the ORDER BY method and remaining options

View Source query/options.ts, line 86

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

# orderBy(selector) → {LimitOption|OffsetOption}

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

Parameters:
Name Type Description
selector OrderBySelector

View Source query/options.ts, line 97