Table of Contents

Method Or

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

Or(IEnumerable<IMongoQuery>)

Tests that at least one of the subqueries is true (see $or).

public IMongoQuery Or(IEnumerable<IMongoQuery> queries)

Parameters

queries IEnumerable<IMongoQuery>

The subqueries.

Returns

IMongoQuery

A query.

Or(params IMongoQuery[])

Tests that at least one of the subqueries is true (see $or).

public IMongoQuery Or(params IMongoQuery[] queries)

Parameters

queries IMongoQuery[]

The subqueries.

Returns

IMongoQuery

A query.