Class DataSource
A factory class for creating data sources for queries
Inheritance
System.Object
DataSource
Inherited Members
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 static class DataSource
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 |