Table of Contents

Method EQ

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

EQ(string, BsonValue)

Tests that the value of the named element is equal to some value.

public static IMongoQuery EQ(string name, BsonValue value)

Parameters

name string

The name of the element to test.

value BsonValue

The value to compare to.

Returns

IMongoQuery

An IMongoQuery.