QueryExpression

Base class of query expressions, provide common properties for SelectExpression and UnionExpression.

Inheritors

Properties

Link copied to clipboard
abstract val extraProperties: Map<String, Any>

Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs.

Link copied to clipboard
override val isLeafNode: Boolean = false

Check if this expression is a leaf node in expression trees.

Link copied to clipboard
abstract val limit: Int?

max record numbers returned by the query.

Link copied to clipboard
abstract val offset: Int?

the offset of the first returned record.

Link copied to clipboard

a list of order-by expressions, used in the order by clause of a query.

Link copied to clipboard
abstract val tableAlias: String?

the alias when this query is nested in another query's source, e.g. select * from (...) alias.