Table of Contents

Method PushAllWrapped

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

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

Adds a list of wrapped values to the end of the named array element (see $pushAll).

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

Parameters

name string

The name of the array element.

values IEnumerable<T>

The wrapped values to add to the end of the array.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Type Parameters

T

The type of wrapped values.

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

Adds a list of wrapped values to the end of the named array element (see $pushAll).

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

Parameters

name string

The name of the array element.

values T[]

The wrapped values to add to the end of the array.

Returns

UpdateBuilder

The builder (so method calls can be chained).

Type Parameters

T

The type of wrapped values.