Nulls

enum Nulls : Enum<Nulls>

Specifies the ordering of NULL values in a sorted query result set. This is used in conjunction with ORDER BY to control whether NULLs appear before or after non-NULL values.

Example

Employees
.select(
Employees.firstName,
Employees.lastName,
).orderBy(
OrderColumn(
Employees.firstName,
sort = Sort.ASC,
nulls = Nulls.LAST,
),
).execute()

FIRST Places NULL values at the beginning of the sorted result set. LAST Places NULL values at the end of the sorted result set.

Author

MOHAMMAD AZIM ANSARI

See also

Entries

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun valueOf(value: String): Nulls

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.