Table of Contents

Method PullAllWrapped

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

PullAllWrapped<T>(string, IEnumerable<T>)

Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll).

public static UpdateBuilder PullAllWrapped<T>(string name, IEnumerable<T> values)

Parameters

name string

The name of the array element.

values IEnumerable<T>

The wrapped values to remove.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Type Parameters

T

The type of wrapped values.

PullAllWrapped<T>(string, params T[])

Removes all values from the named array element that are equal to any of a list of wrapped values (see $pullAll).

public static UpdateBuilder PullAllWrapped<T>(string name, params T[] values)

Parameters

name string

The name of the array element.

values T[]

The wrapped values to remove.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Type Parameters

T

The type of wrapped values.