Class JsonIndexKeysDefinition

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

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

Inherited Members

Extension Methods

Constructors

JsonIndexKeysDefinition(string)

Initializes a new instance of the JsonIndexKeysDefinition class.

Properties

Json

Gets the json.

Methods

Render(RenderArgs)

Renders the index keys definition to a BsonDocument.