GroupBy
A GroupBy represents the GROUP BY clause to group the query result. The GROUP BY clause is normally used with aggregate functions (AVG, COUNT, MAX, MIN, SUM) to aggregate the group of the values.
Properties
Functions
Adds a change listener for the changes that occur in the query results.
Adds a change listener for the changes that occur in the query results with a CoroutineContext that will be used to launch coroutines the listener will be called on. Coroutines will be launched in a CoroutineScope that is canceled when the listener is removed.
Adds a change listener for the changes that occur in the query results with a CoroutineScope that will be used to launch coroutines the listener will be called on. The listener is removed when the scope is canceled.
Adds a change listener for the changes that occur in the query results.
Adds a change listener for the changes that occur in the query results with a CoroutineContext that will be used to launch coroutines the listener will be called on. Coroutines will be launched in a CoroutineScope that is canceled when the listener is removed.
Adds a change listener for the changes that occur in the query results with a CoroutineScope that will be used to launch coroutines the listener will be called on. The listener is removed when the scope is canceled.
Executes the query. The returning a result set that enumerates result rows one at a time. You can run the query any number of times, and you can even have multiple ResultSet active at once.
Executes the query. The returning a result set that enumerates result rows one at a time. You can run the query any number of times, and you can even have multiple ResultSet active at once.
Returns a string describing the implementation of the compiled query. This is intended to be read by a developer for purposes of optimizing the query, especially to add database indexes. It's not machine-readable and its format may change. As currently implemented, the result is two or more lines separated by newline characters:
Returns a string describing the implementation of the compiled query. This is intended to be read by a developer for purposes of optimizing the query, especially to add database indexes. It's not machine-readable and its format may change. As currently implemented, the result is two or more lines separated by newline characters:
Create and chain a Having object for filtering the aggregated values from the GROUP BY clause.
Create and chain a Having object for filtering the aggregated values from the GROUP BY clause.
Creates and chains a Limit object to limit the number query results.
Creates and chains a Limit object to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
Creates and chains a Limit object to limit the number query results.
Creates and chains a Limit object to skip the returned results for the given offset position and to limit the number of results to not more than the given limit value.
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
Create and chain an ORDER BY component for specifying the ORDER BY clause of the query.
A Flow of query changes.
Removes a change listener wih the given listener token.
Removes a change listener wih the given listener token.