Click or drag to resize

ILiteCollectionTEnsureIndex Method

Overload List
 NameDescription
Public methodEnsureIndex(BsonExpression, Boolean) Create a new permanent index in all documents inside this collections if index not exists already. Returns true if index was created or false if already exits
Public methodEnsureIndex(String, BsonExpression, Boolean) Create a new permanent index in all documents inside this collections if index not exists already. Returns true if index was created or false if already exits
Public methodEnsureIndexK(ExpressionFuncT, K, Boolean) Create a new permanent index in all documents inside this collections if index not exists already.
Public methodEnsureIndexK(String, ExpressionFuncT, K, Boolean) Create a new permanent index in all documents inside this collections if index not exists already.
Top
See Also