AbstractQuery
Base class representing an SQL query that returns a database result when executed.
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.
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.
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 the string representation of an SQL query, generated by appending SQL expressions to a QueryBuilder.
Returns the string representation of an SQL statement.
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.