Show / Hide Table of Contents

Class ValueIndexConfiguration

An class for an index based on one or more simple property values

Inheritance
System.Object
IndexConfiguration
ValueIndexConfiguration
Inherited Members
IndexConfiguration.Expressions
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 Source

ValueIndexConfiguration(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

| Improve this Doc View Source

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 Source

Where

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
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX