Click or drag to resize
AsyncDatabaseConnectionQuery Method (IAsyncDatabaseConnection, ISqlQuery, Object)
Returns a cold observable that compiles a SQL query with provided bind parameter values, that publishes the rows in the result set for each subscription.

Namespace: SQLitePCL.pretty.Orm
Assembly: SQLitePCL.pretty.Orm (in SQLitePCL.pretty.Orm.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public static IObservable<IReadOnlyList<IResultSetValue>> Query(
	this IAsyncDatabaseConnection This,
	ISqlQuery query,
	params Object[] values
)

Parameters

This
Type: SQLitePCL.prettyIAsyncDatabaseConnection
The asynchronous database connection.
query
Type: SQLitePCL.pretty.Orm.SqlISqlQuery
The SQL query to compile and Query.
values
Type: SystemObject
The bind parameter values.

Return Value

Type: IObservableIReadOnlyListIResultSetValue
A cold observable of rows in the result set.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAsyncDatabaseConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also