ILiveQuery Interface |
Namespace: Couchbase.Lite.Query
public interface ILiveQuery : IDisposable
The ILiveQuery type exposes the following members.
| Name | Description | |
|---|---|---|
| LastError |
If not null, the error of the last execution of the query.
Otherwise, the query was sucessful
| |
| Rows |
The last retrieved rows from this query
| |
| UpdateInterval |
Gets or sets the shortest interval at which the query will update, regardless
of how often the database changes. Defaults to 0.2 seconds. Increase this if
the query is expensive and the database updates frequently to limit CPU
consumption.
|
| Name | Description | |
|---|---|---|
| Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
| Start |
Starts the monitoring process for the live query (to stop,
the live query must be disposed). Accessing Rows
will automatically call this.
| |
| Stop |