IndexUpdateMode Enumeration |
Used to specify when a
View index is updated
when running a
Query.
Name | Description |
---|
Before |
If needed, update the index before running the Query (default).
This guarantees up-to-date results at the expense of a potential delay in receiving results.
|
Never |
Never update the index when running a Query.
This guarantees receiving results the fastest at the expense of potentially out-of-date results.
|
After |
If needed, update the index asynchronously after running the Query.
This guarantees receiving results the fastest, at the expense of potentially out-of-date results,
and that subsequent Queries will return more accurate results.
|
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax [SerializableAttribute]
public enum IndexUpdateMode
Members
| Member name | Value | Description |
---|
| Before | 0 |
If needed, update the index before running the Query (default).
This guarantees up-to-date results at the expense of a potential delay in receiving results.
|
| Never | 1 |
Never update the index when running a Query.
This guarantees receiving results the fastest at the expense of potentially out-of-date results.
|
| After | 2 |
If needed, update the index asynchronously after running the Query.
This guarantees receiving results the fastest, at the expense of potentially out-of-date results,
and that subsequent Queries will return more accurate results.
|
See Also