Object that represents a basic SQL query. The getSQLText() method on this
interface has no validation. It will return an incomplete or invalid query
if the objects making up the SQLQuery are themselves incomplete or invalid.
It is strongly recommended that a SQLQueryBuilder is used to create and edit
a SQLQuery. All support for dependent objects, cascade deletes and links to
Relations, Columns and FKConstraints is in the SQLQueryBuilder interface.
This object is a simple container to encapsulate the query data.

getGroupByObject

isDeclarative

boolean isDeclarative()

Tests whether this query has been fully built declaratively - i.e. calling
getSQLText on the entire query will return the correct query String. Views
that aren't fully declarative can still be used for dependency information.