Click or drag to resize

DatabaseCreateIndex 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-b0125
Syntax
C#
public void CreateIndex(
	IList expressions,
	IndexType indexType,
	IndexOptions options
)

Parameters

expressions
Type: System.CollectionsIList
The expressions to create the index on (must be either string or IExpression)
indexType
Type: Couchbase.LiteIndexType
The type of index to create
options
Type: Couchbase.LiteIndexOptions
The configuration to apply to the index
See Also