StatementQuery Method (IStatement, Object) |
Queries the database using the provided IStatement and provided bind variables.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static IEnumerable<IReadOnlyList<IResultSetValue>> Query(
this IStatement This,
params Object[] values
)
[<ExtensionAttribute>]
static member Query :
This : IStatement *
values : Object[] -> IEnumerable<IReadOnlyList<IResultSetValue>>
Parameters
- This
- Type: SQLitePCL.prettyIStatement
The statements. - values
- Type: SystemObject
The position indexed values to bind.
Return Value
Type:
IEnumerableIReadOnlyListIResultSetValueAn
IEnumerableT 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
IStatement. 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