pullByFilter

@JvmName(name = "pullByFilterExt")
infix fun KProperty<*>.pullByFilter(filter: Bson): 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

filter

the value


fun pullByFilter(property: KProperty<*>, filter: Bson): 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

filter

the value


fun pullByFilter(filter: Bson): Bson

Creates an update that removes from an array all elements that match the given filter.

Return

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

Parameters

filter

the query filter