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-b0295
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.Lite.QueryIndexType
The type of index to create
options
Type: Couchbase.Lite.QueryIndexOptions
The configuration to apply to the index
See Also