Adds a limit to the query.
The limit for the query.
A QueryBuilder instance with a limit added.
an SDKClientError with the code SDKClientErrorCodes.QueryBuilderInvalidArgument
if the limit is not a positive number.
Adds an offset to the query.
The offset for the query.
A QueryBuilder instance with an offset added.
an SDKClientError with the code SDKClientErrorCodes.QueryBuilderInvalidArgument
and a descriptive message if the offset is not a positive number.
Adds an order by clause to the query.
The order for the order by clause, either 'asc' or 'desc'.
A QueryBuilder instance with an order by clause added.
an SDKClientError with the code SDKClientErrorCodes.QueryBuilderInvalidArgument
if the order is not 'asc' or 'desc'.
A where clause with basic operators and a single value.
A basic operator.
A single value.
A QueryBuilder instance with a where clause added.
A where clause with 'in' or 'not-in' the given values.
An 'in' or 'not-in' operator.
An array of values.
A QueryBuilder instance with a where clause added.
A where clause with 'between' the given values.
A 'between' operator.
An array of two values.
A QueryBuilder instance with a where clause added.
Static
buildBuilds a query.
The query to build.
A QueryBuilder instance.
an SDKClientError with the code SDKClientErrorCodes.QueryBuilderInvalidArgument
and a descriptive message if the query is invalid.
Static
indexThe index key to query on. This is the method to call to initiate any query.
The index key to query on.
A QueryBuilder instance.
an SDKClientError with the code SDKClientErrorCodes.QueryBuilderInvalidArgument
and a descriptive message if the query is invalid.
Static
validateGenerated using TypeDoc
A QueryBuilder helper for building queries for the IDatabaseTable.