orElse

abstract infix fun AttributePath.orElse(value: Expression): Expression
open infix fun AttributePath.orElse(value: Boolean?): Expression
open infix fun AttributePath.orElse(value: ByteArray?): Expression
open infix fun AttributePath.orElse(value: List<Any?>?): Expression
open infix fun AttributePath.orElse(value: Map<String, Any?>?): Expression
open infix fun AttributePath.orElse(value: Nothing?): Expression
open infix fun AttributePath.orElse(value: Number?): Expression
@JvmName(name = "attributePathOrElseSetByteArray")
open infix fun AttributePath.orElse(value: Set<ByteArray>?): Expression
@JvmName(name = "attributePathOrElseSetNumber")
open infix fun <N : Number> AttributePath.orElse(value: Set<N>?): Expression
@JvmName(name = "attributePathOrElseSetString")
open infix fun AttributePath.orElse(value: Set<String>?): Expression
@JvmName(name = "attributePathOrElseSetUByte")
open infix fun AttributePath.orElse(value: Set<UByte>?): Expression
@JvmName(name = "attributePathOrElseSetUInt")
open infix fun AttributePath.orElse(value: Set<UInt>?): Expression
@JvmName(name = "attributePathOrElseSetULong")
open infix fun AttributePath.orElse(value: Set<ULong>?): Expression
@JvmName(name = "attributePathOrElseSetUShort")
open infix fun AttributePath.orElse(value: Set<UShort>?): Expression
open infix fun AttributePath.orElse(value: String?): Expression
open infix fun AttributePath.orElse(value: UByte?): Expression
open infix fun AttributePath.orElse(value: UInt?): Expression
open infix fun AttributePath.orElse(value: ULong?): Expression
open infix fun AttributePath.orElse(value: UShort?): Expression

Creates a function expression which represents the value of this attribute path unless a value does not exist, in which case the given value is used. This corresponds to the low-level DynamoDB function if_not_exists.

Parameters

value

The value to use if this attribute does not exist