Click or drag to resize

DataSourceFactoryDatabase Method

Creates a data source for an IQuery that gets results from the given IDatabase

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

Parameters

database
Type: Couchbase.LiteIDatabase
The database to operate on

Return Value

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