Table of Contents

Class JsonIndexKeysDefinition<TDocument>

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

A JSON string based index keys definition.

public sealed class JsonIndexKeysDefinition<TDocument> : IndexKeysDefinition<TDocument>

Type Parameters

TDocument

The type of the document.

Inheritance
JsonIndexKeysDefinition<TDocument>
Inherited Members
Extension Methods

Constructors

JsonIndexKeysDefinition(string)

Initializes a new instance of the JsonIndexKeysDefinition<TDocument> class.

Properties

Json

Gets the json.

Methods

Render(IBsonSerializer<TDocument>, IBsonSerializerRegistry, LinqProvider)

Renders the index keys definition to a BsonDocument.