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 @mongodb.driver.manual reference/operator/update/pop/ $pop

Parameters

property

the property