api-docs / org.ktorm.expression / UnionExpression
UnionExpression
data class UnionExpression : QueryExpression
(source code)Union expression, represents a union
statement of SQL.
Constructors
Name | Summary |
---|---|
UnionExpression( Union expression, represents a |
Properties
Name | Summary |
---|---|
Extra properties of this expression, maybe useful in SqlFormatter to generate some special SQLs. | |
val isUnionAll: Boolean mark if this union statement is | |
val left: QueryExpression the left query of this union expression. | |
val limit: Int? max record numbers returned by the query. | |
val offset: Int? the offset of the first returned record. | |
val orderBy: List<OrderByExpression> a list of order-by expressions, used in the | |
val right: QueryExpression the right query of this union expression. | |
val tableAlias: String? the alias when this query is nested in another query’s source, eg. |
Inherited Properties
Name | Summary |
---|---|
val isLeafNode: Boolean Check if this expression is a leaf node in expression trees. |
Extension Functions
Name | Summary |
---|---|
infix fun <T : Any> T.eq( Equal operator, translated to | |
infix fun <T : Any> T.neq( Not-equal operator, translated to | |
infix fun <T : Any> T.notEq( Not-equal operator, translated to |