Operator implicit operator
implicit operator IndexKeysDefinition<TDocument>(BsonDocument)
Performs an implicit conversion from Bson
Parameters
document
BsonDocument The document.
Returns
- Index
Keys <TDocument>Definition The result of the conversion.
implicit operator IndexKeysDefinition<TDocument>(string)
Performs an implicit conversion from string to IndexKeysDefinition<TDocument>.
Parameters
json
stringThe JSON string.
Returns
- Index
Keys <TDocument>Definition The result of the conversion.