Click or drag to resize

IQuery Interface

An interface representing a runnable query over a data source

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax
C#
public interface IQuery : IDisposable

The IQuery type exposes the following members.

Properties
  NameDescription
Public propertyParameters
Gets or sets the parameter collection for this query so that parameters may be added for substitution into the query API (via Parameter(String))
Top
Methods
  NameDescription
Public methodAddChangeListener(EventHandlerQueryChangedEventArgs)
Adds a change listener to track when this query instance has a change in its results. Adding the first change listener will begin the live semantics.
Public methodAddChangeListener(TaskScheduler, EventHandlerQueryChangedEventArgs)
Adds a change listener to track when this query instance has a change in its results. Adding the first change listener will begin the live semantics.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodExecute
Runs the query
Public methodExplain
Gets an explanation of what the query will do
Public methodRemoveChangeListener
Top
See Also