kmongo / org.litote.kmongo / pull

pull

fun <T> pull(property: KProperty<Iterable<T?>?>, value: T?): Bson (source)

Creates an update that removes all instances of the given value from the array value of the property.

Parameters

property - the property

value - the value

Parameters

Return
the update

Mongodb
.driver.manual reference/operator/update/pull/ $pull