Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
IDatabase Interface
IDatabase Methods
CreateIndex Method
CreateIndex Method (IList(IExpression))
CreateIndex Method (IList, IndexType, IndexOptions)
IDatabase
CreateIndex Method (IList, IndexType, IndexOptions)
Creates an index of the given type on the given path with the given options
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0056
Syntax
C#
Copy
void
CreateIndex
(
IList
expressions
,
IndexType
indexType
,
IndexOptions
options
)
Parameters
expressions
Type:
System.Collections
IList
The expressions to create the index on (must be either string or IExpression)
indexType
Type:
Couchbase.Lite
IndexType
The type of index to create
options
Type:
Couchbase.Lite
IndexOptions
The options to apply to the index
See Also
Reference
IDatabase Interface
CreateIndex Overload
Couchbase.Lite Namespace