api-docs / org.ktorm.expression / QueryExpression
QueryExpression
sealed class QueryExpression : QuerySourceExpression
(source code)Base class of query expressions, provide common properties for SelectExpression and UnionExpression.
Properties
Name | Summary |
---|---|
val isLeafNode: Boolean Check if this expression is a leaf node in expression trees. | |
abstract val limit: Int? max record numbers returned by the query. | |
abstract val offset: Int? the offset of the first returned record. | |
abstract val orderBy: List<OrderByExpression> a list of order-by expressions, used in the | |
abstract val tableAlias: String? the alias when this query is nested in another query’s source, eg. |
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 |
Inheritors
Name | Summary |
---|---|
data class SelectExpression : QueryExpression Select expression, represents a | |
data class UnionExpression : QueryExpression Union expression, represents a |