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 fun add(expression: Expression): Expression

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

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

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

actual fun and(expression: Expression): Expression
actual 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 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 fun collate(collation: Collation): Expression
actual fun collate(collation: Collation): Expression
Link copied to clipboard
expect fun divide(expression: Expression): Expression

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

actual fun divide(expression: Expression): Expression
actual fun divide(expression: Expression): Expression
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
expect 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 fun equalTo(expression: Expression): Expression
actual fun equalTo(expression: Expression): Expression
Link copied to clipboard
expect 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 fun greaterThan(expression: Expression): Expression
actual fun greaterThan(expression: Expression): Expression
Link copied to clipboard
expect 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 fun greaterThanOrEqualTo(expression: Expression): Expression
actual 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 fun is(expression: Expression): Expression

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

actual fun is(expression: Expression): Expression
actual fun is(expression: Expression): Expression
Link copied to clipboard
expect 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 fun isNot(expression: Expression): Expression
actual 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 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 fun lessThan(expression: Expression): Expression
actual fun lessThan(expression: Expression): Expression
Link copied to clipboard
expect 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 fun lessThanOrEqualTo(expression: Expression): Expression
actual fun lessThanOrEqualTo(expression: Expression): Expression
Link copied to clipboard
expect fun like(expression: Expression): Expression

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

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

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

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

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

actual fun multiply(expression: Expression): Expression
actual fun multiply(expression: Expression): Expression
Link copied to clipboard
expect 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 fun notEqualTo(expression: Expression): Expression
actual fun notEqualTo(expression: Expression): Expression
Link copied to clipboard
expect fun or(expression: Expression): Expression

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

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

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

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

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

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