Class Overview
A partially constructed query that may accept .where
and .orderBy
clauses.
As a readability aid, most .whereX
clauses my also be specified with a {.andX} clause after the
first one has been specified.
Public Methods
public
WhereContext<E>
andCondition
(EntityCondition condition)
Specifies the ordering for the return values. This is required if you wish to specify a LIMIT
for the query, as some databases cannot enumerate the returned rows except in the context of a well
defined ordering (and which rows get returned would not be reliable without it, anyway).
Parameters
orderByColumns
| one or more columns by which to order the results |
Returns
- a partially constructed query. Use
.limit
to continue building the query or
.runWith
to complete it by specifying an execution method.
public
WhereContext<E>
whereCondition
(EntityCondition condition)