pullByFilter

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

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

Parameters

filter

the query filter