Query
Types
Properties
The stored comments and their CommentPositions in this SELECT
query.
List of columns on which the query should be distinct.
The stored list of columns for a GROUP BY
clause in this SELECT
query.
Whether the SQL statement is meant to be performed as part of a batch execution.
The stored list of columns and their SortOrder for an ORDER BY
clause in this query.
Functions
Appends an SQL comment, with content wrapped by /* */
, at the specified CommentPosition in this SELECT
query.
Executes the SQL statement directly in the provided transaction and returns the generated result, or null
if either no result was retrieved or if the transaction blocked statement execution.
Determines the exact way that an SQL statement is executed in a transaction and applies any necessary logic before returning the result generated by the executed statement.
Returns a new SizedIterable with a locking read for the elements according to the rules specified by option.
Appends a GROUP BY
clause with the specified columns to this SELECT
query.
Whether this SELECT
query already has a stored value option for performing locking reads.
Whether this SELECT
query will perform a locking read.
Returns a SizedIterable containing the lazily evaluated results of applying the function f to each original element.
Returns a new SizedIterable without any locking read for the elements.
Modifies this query to sort results according to the provided order of expressions.
Uses a transaction connection and an sql string representation to return a precompiled SQL statement, stored as an implementation of PreparedStatementApi.
Returns the string representation of an SQL statement.
Returns the string representation of an SQL query, generated by appending SQL expressions to a QueryBuilder.
Modifies this query to retrieve only distinct results if value is set to true
.
Specifies that the SELECT
query should retrieve distinct results based on the given list of columns with sort orders. This method sets a DISTINCT ON
clause and may reorder the results as indicated.
Specifies that the SELECT
query should retrieve distinct results based on the given list of columns.