Projected columns
Filters
Source of the query (table or join between tables)
Sorting by fields
Filters
Projected columns
Sorting by fields
Source of the query (table or join between tables)
Creates a new query adding the given filters to those already present in the query.
Creates a new query adding the given filters to those already present in the query.
Given filters
new query
Creates a new query replacing the grouping columns and the projection with the given ones.
Creates a new query replacing the grouping columns and the projection with the given ones. If there is already a projection, it will wrap the current query, making it a subquery.
projection columns
columns
new query
Creates a new query replacing the projected columns with the given ones.
Creates a new query replacing the projected columns with the given ones. If there is already a projection, it will be treated as a subquery.
given projected columns
new query
Creates a new query replacing the sort fields with the given ones.
Creates a new query replacing the sort fields with the given ones.
sort fields given
new query
Creates a new query replacing the source with the given one.
Creates a new query replacing the source with the given one.
source given
new query
Query holds all the data needed to build a query.
Projected columns
Filters
Source of the query (table or join between tables)
Sorting by fields