Click or drag to resize

DatabaseCreateIndex Method

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-b0520
Syntax
C#
public void CreateIndex(
	string name,
	IIndex index
)

Parameters

name
Type: SystemString
The name to give to the index (must be unique, or previous index with the same name will be overwritten)
index
Type: Couchbase.Lite.QueryIIndex
The index to creaate
See Also