Class JsonFilterDefinition

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

A JSON string based filter.

public sealed class JsonFilterDefinition<TDocument> : FilterDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance

JsonFilterDefinition

Inherited Members

Extension Methods

Constructors

JsonFilterDefinition(string)

Initializes a new instance of the JsonFilterDefinition class.

Properties

Json

Gets the json.

Methods

Render(RenderArgs)

Renders the filter to a BsonDocument.