Class ValueIndexConfiguration
An class for an index based on one or more simple property values
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public sealed class ValueIndexConfiguration : IndexConfiguration
Constructors
| Improve this Doc View SourceValueIndexConfiguration(IEnumerable<String>, String)
Starts the creation of an index based on one or more simple property values, and a predicate for enabling partial indexes.
Declaration
public ValueIndexConfiguration(IEnumerable<string> expressions, string where = null)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<System.String> | expressions | The expressions to use to create the index |
System.String | where | A where clause used to determine whether or not to include a particular doc |
ValueIndexConfiguration(String[])
Starts the creation of an index based on one or more simple property values
Declaration
public ValueIndexConfiguration(params string[] expressions)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | expressions | The expressions to use to create the index |
Properties
| Improve this Doc View SourceWhere
A predicate expression defining conditions for indexing documents. Only documents satisfying the predicate are included, enabling partial indexes.
Declaration
public string Where { get; set; }
Property Value
Type | Description |
---|---|
System.String |