popLast

fun <T> popLast(property: KProperty<T>): Bson

Creates an update that pops the last element of an array that is the value of the property.

Return

the update

Parameters

property

the property