Method Pull
Pull(string, BsonValue)
Removes all values from the named array element that are equal to some value (see $pull).
public UpdateBuilder Pull(string name, BsonValue value)
Parameters
Returns
- UpdateBuilder
The builder (so method calls can be chained).
Pull(string, IMongoQuery)
Removes all values from the named array element that match some query (see $pull).
public UpdateBuilder Pull(string name, IMongoQuery query)
Parameters
name
stringThe name of the array element.
query
IMongoQueryA query that specifies which elements to remove.
Returns
- UpdateBuilder
The builder (so method calls can be chained).