Method PullAll
PullAll(string, BsonArray)
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
public static UpdateBuilder PullAll(string name, BsonArray values)
Parameters
Returns
- UpdateBuilder
The builder (so method calls can be chained).
PullAll(string, IEnumerable<BsonValue>)
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
public static UpdateBuilder PullAll(string name, IEnumerable<BsonValue> values)
Parameters
name
stringThe name of the array element.
values
IEnumerable<BsonValue>The values to remove.
Returns
- UpdateBuilder
The builder (so method calls can be chained).
PullAll(string, params BsonValue[])
Removes all values from the named array element that are equal to any of a list of values (see $pullAll).
public static UpdateBuilder PullAll(string name, params BsonValue[] values)
Parameters
Returns
- UpdateBuilder
The builder (so method calls can be chained).