pull

@JvmName(name = "pullExt")
infix fun <T> KProperty<Iterable<T?>?>.pull(value: T?): Bson

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

Return

the update @mongodb.driver.manual reference/operator/update/pull/ $pull

Parameters

value

the value

the value type

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

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

Return

the update @mongodb.driver.manual reference/operator/update/pull/ $pull

Parameters

property

the property

value

the value

the value type