Class DataSource
A factory class for creating data sources for queries
Inheritance
System.Object
DataSource
Namespace: Couchbase.Lite.Query
Assembly: Couchbase.Lite.dll
Syntax
public static class DataSource : object
Methods
| Improve this Doc View SourceDatabase(Database)
Creates a data source for an IQuery that gets results from the given Database(Database)
Declaration
public static IDataSourceAs Database(Database database)
Parameters
Type | Name | Description |
---|---|---|
Database | database | The database to operate on |
Returns
Type | Description |
---|---|
IDataSourceAs | The source of data for the IQuery |