concat
open infix fun <Context : Any> Value<Context, String>.concat(other: Value<Context, String>): Value<Context, String>(source)
Concatenates two strings together.
Example
class User(
val firstName: String,
val lastName: String,
val fullName: String,
)
collection.updateManyWithPipeline {
set {
User::fullName set (of(User::firstName) concat of(" ") concat of(User::lastName))
}
}
Content copied to clipboard