# MODE

enum MODE : ForUpdateOption.ForUpdateOrShareMode, Enum<ForUpdateOption.PostgreSQL.MODE>

Optional modes that determine what should happen if the retrieved rows are not immediately available.

## Entries

NO_WAIT
Link copied to clipboard
NO_WAIT

Indicates that an error should be reported.

SKIP_LOCKED
Link copied to clipboard
SKIP_LOCKED

Indicates that the unavailable rows should be skipped.

## Properties

entries
Link copied to clipboard
val entries: EnumEntries<ForUpdateOption.PostgreSQL.MODE>

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

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int
statement
Link copied to clipboard
open override val statement: String

## Functions

valueOf
Link copied to clipboard
fun valueOf(value: String): ForUpdateOption.PostgreSQL.MODE

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.)

values
Link copied to clipboard
fun values(): Array<ForUpdateOption.PostgreSQL.MODE>

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