Table of Contents

Method Exists

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

Exists(string)

Tests that an element of that name exists (see $exists).

public static IMongoQuery Exists(string name)

Parameters

name string

The name of the element to test.

Returns

IMongoQuery

An IMongoQuery.