Table of Contents

Method Create

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

Create(BsonDocument)

Creates a query manually.

public static IMongoQuery Create(BsonDocument query)

Parameters

query BsonDocument

The query.

Returns

IMongoQuery

An IMongoQuery.

Create(string, BsonValue)

Creates a query manually.

public static IMongoQuery Create(string name, BsonValue condition)

Parameters

name string

The element name.

condition BsonValue

The condition.

Returns

IMongoQuery

An IMongoQuery.