Module is.codion.framework.domain
Interface SelectQuery
public interface SelectQuery
Defines a select query or parts of a select query, that is, from, column, where and orderBy clauses.
SelectQuery.Builder
provided by builder()
.-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
columns
String columns()- Returns:
- the COLUMNS clause string
-
from
String from()- Returns:
- the FROM clause
-
where
String where()- Returns:
- the WHERE clause
-
groupBy
String groupBy()- Returns:
- the GROUP BY clause
-
having
String having()- Returns:
- the HAVING clause
-
orderBy
String orderBy()- Returns:
- the order by clause
-
builder
Creates aSelectQuery.Builder
- Returns:
- a new
SelectQuery.Builder
instance.
-