Expression

expect open class Expression(source)

The expression used in constructing a query.

Inheritors

Constructors

Link copied to clipboard
constructor(actual: <Error class: unknown class>)
constructor()

Types

Link copied to clipboard
expect object Companion
actual object Companion
actual object Companion

Functions

Link copied to clipboard
expect infix fun add(expression: Expression): Expression

Create an add expression to add the given expression to the current expression

actual infix fun add(expression: Expression): Expression
actual infix fun add(expression: Expression): Expression
Link copied to clipboard
expect infix fun and(expression: Expression): Expression

Create a logical AND expression that performs logical AND operation with the current expression.

actual infix fun and(expression: Expression): Expression
actual infix fun and(expression: Expression): Expression
Link copied to clipboard
expect fun between(expression1: Expression, expression2: Expression): Expression

Create a between expression that evaluates whether or not the current expression is between the given expressions inclusively.

actual fun between(expression1: Expression, expression2: Expression): Expression
actual fun between(expression1: Expression, expression2: Expression): Expression
Link copied to clipboard
expect infix fun collate(collation: Collation): Expression

Creates a Collate expression with the given Collation specification. Commonly the collate expression is used in the Order BY clause or the string comparison expression (e.g. equalTo or lessThan) to specify how the two strings are compared.

actual infix fun collate(collation: Collation): Expression
actual infix fun collate(collation: Collation): Expression
Link copied to clipboard
expect infix fun divide(expression: Expression): Expression

Create a divide expression to divide the current expression by the given expression.

actual infix fun divide(expression: Expression): Expression
actual infix fun divide(expression: Expression): Expression
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
expect infix fun equalTo(expression: Expression): Expression

Create an equal to expression that evaluates whether or not the current expression is equal to the given expression.

actual infix fun equalTo(expression: Expression): Expression
actual infix fun equalTo(expression: Expression): Expression
Link copied to clipboard
expect infix fun greaterThan(expression: Expression): Expression

Create a greater than expression that evaluates whether or not the current expression is greater than the given expression.

actual infix fun greaterThan(expression: Expression): Expression
actual infix fun greaterThan(expression: Expression): Expression
Link copied to clipboard
expect infix fun greaterThanOrEqualTo(expression: Expression): Expression

Create a greater than or equal to expression that evaluates whether or not the current expression is greater than or equal to the given expression.

actual infix fun greaterThanOrEqualTo(expression: Expression): Expression
actual infix fun greaterThanOrEqualTo(expression: Expression): Expression
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
expect fun in(vararg expressions: Expression): Expression

Create an IN expression that evaluates whether or not the current expression is in the given expressions.

actual fun in(vararg expressions: Expression): Expression
actual fun in(vararg expressions: Expression): Expression
Link copied to clipboard
expect infix fun is(expression: Expression): Expression

Create an IS expression that evaluates whether or not the current expression is equal to the given expression.

actual infix fun is(expression: Expression): Expression
actual infix fun is(expression: Expression): Expression
Link copied to clipboard
expect infix fun isNot(expression: Expression): Expression

Create an IS NOT expression that evaluates whether or not the current expression is not equal to the given expression.

actual infix fun isNot(expression: Expression): Expression
actual infix fun isNot(expression: Expression): Expression
Link copied to clipboard
expect fun isNotValued(): Expression

Creates an NOT IS VALUED expression that returns true if the current expression is NOT VALUED.

actual fun isNotValued(): Expression
actual fun isNotValued(): Expression
Link copied to clipboard
expect fun isValued(): Expression

Creates an IS VALUED expression that returns true if the current expression is valued.

actual fun isValued(): Expression
actual fun isValued(): Expression
Link copied to clipboard
expect infix fun lessThan(expression: Expression): Expression

Create a less than expression that evaluates whether or not the current expression is less than the given expression.

actual infix fun lessThan(expression: Expression): Expression
actual infix fun lessThan(expression: Expression): Expression
Link copied to clipboard
expect infix fun lessThanOrEqualTo(expression: Expression): Expression

Create a less than or equal to expression that evaluates whether or not the current expression is less than or equal to the given expression.

actual infix fun lessThanOrEqualTo(expression: Expression): Expression
actual infix fun lessThanOrEqualTo(expression: Expression): Expression
Link copied to clipboard
expect infix fun like(expression: Expression): Expression

Create a Like expression that evaluates whether or not the current expression is LIKE the given expression.

actual infix fun like(expression: Expression): Expression
actual infix fun like(expression: Expression): Expression
Link copied to clipboard
expect infix fun modulo(expression: Expression): Expression

Create a modulo expression to modulo the current expression by the given expression.

actual infix fun modulo(expression: Expression): Expression
actual infix fun modulo(expression: Expression): Expression
Link copied to clipboard
expect infix fun multiply(expression: Expression): Expression

Create a multiply expression to multiply the current expression by the given expression.

actual infix fun multiply(expression: Expression): Expression
actual infix fun multiply(expression: Expression): Expression
Link copied to clipboard
expect infix fun notEqualTo(expression: Expression): Expression

Create a NOT equal to expression that evaluates whether or not the current expression is not equal to the given expression.

actual infix fun notEqualTo(expression: Expression): Expression
actual infix fun notEqualTo(expression: Expression): Expression
Link copied to clipboard
expect infix fun or(expression: Expression): Expression

Create a logical OR expression that performs logical OR operation with the current expression.

actual infix fun or(expression: Expression): Expression
actual infix fun or(expression: Expression): Expression
Link copied to clipboard
expect infix fun regex(expression: Expression): Expression

Create a regex match expression that evaluates whether or not the current expression regex matches the given expression.

actual infix fun regex(expression: Expression): Expression
actual infix fun regex(expression: Expression): Expression
Link copied to clipboard
expect infix fun subtract(expression: Expression): Expression

Create a subtract expression to subtract the given expression from the current expression.

actual infix fun subtract(expression: Expression): Expression
actual infix fun subtract(expression: Expression): Expression
Link copied to clipboard
open override fun toString(): String
open override fun toString(): String