Click or drag to resize

DataSourceDatabase Method

Creates a data source for an IQuery that gets results from the given Database(Database)

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0520
Syntax
C#
public static IDataSourceAs Database(
	Database database
)

Parameters

database
Type: Couchbase.LiteDatabase
The database to operate on

Return Value

Type: IDataSourceAs
The source of data for the IQuery
See Also