Couchbase Lite .NET Documentation
Couchbase Lite .NET Documentation
Couchbase.Lite
Database Class
Database Methods
CreateIndex Method
CreateIndex Method (IList(IExpression))
CreateIndex Method (IList, IndexType, IndexOptions)
Database
CreateIndex Method (IList, IndexType, IndexOptions)
Creates an index of the given type on the given path with the given configuration
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
Copy
public
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.Query
IndexType
The type of index to create
options
Type:
Couchbase.Lite.Query
IndexOptions
The configuration to apply to the index
See Also
Reference
Database Class
CreateIndex Overload
Couchbase.Lite Namespace