Table of Contents

Method PushWrapped

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

PushWrapped<T>(string, T)

Adds a wrapped value to the end of the named array element (see $push).

public static UpdateBuilder PushWrapped<T>(string name, T value)

Parameters

name string

The name of the array element.

value T

The wrapped value 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 value.