Table of Contents

Method Unset

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

Unset(string)

Removes the named element from the document (see $unset).

public UpdateBuilder Unset(string name)

Parameters

name string

The name of the element to be removed.

Returns

UpdateBuilder

The builder (so method calls can be chained).