popFirst

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

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

Return

the update

Parameters

property

the property