Table of Contents

Method PullAll

Namespace
MongoDB.Driver.Builders
Assembly
MongoDB.Driver.Legacy.dll

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

name string

The name of the array element.

values BsonArray

The values to remove.

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 string

The 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

name string

The name of the array element.

values BsonValue[]

The values to remove.

Returns

UpdateBuilder

The builder (so method calls can be chained).