Table of Contents

Method Where

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

Where(Expression<Func<TDocument, bool>>)

Builds a query from an expression.

public IMongoQuery Where(Expression<Func<TDocument, bool>> expression)

Parameters

expression Expression<Func<TDocument, bool>>

The expression.

Returns

IMongoQuery

An IMongoQuery.