Telerik UI for Windows 8 HTML

Executes an SQL query against the underlying database.

Namespace: Telerik.Data
Assembly:  (in WinJS.exe) Version:

Syntax

JavaScript
instance.query(sqlStatement, parameters);

Parameters

sqlStatement
Type: String
The SQL statement to execute.
parameters
Type: Array
Optional. The parameters array to replace placeholders (?) in the SQL statement.

Return Value

Type: Promise

See Also