OLD | NEW |
1 /** | 1 /** |
2 * An API for storing data in the browser that can be queried with SQL. | 2 * An API for storing data in the browser that can be queried with SQL. |
3 * | 3 * |
4 * **Caution:** this specification is no longer actively maintained by the Web | 4 * **Caution:** this specification is no longer actively maintained by the Web |
5 * Applications Working Group and may be removed at any time. | 5 * Applications Working Group and may be removed at any time. |
6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) | 6 * See [the W3C Web SQL Database specification](http://www.w3.org/TR/webdatabase
/) |
7 * for more information. | 7 * for more information. |
8 * | 8 * |
9 * The [dart:indexed_db] APIs is a recommended alternatives. | 9 * The [dart:indexed_db] APIs is a recommended alternatives. |
10 */ | 10 */ |
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 return new SqlTransaction.internal_(); | 405 return new SqlTransaction.internal_(); |
406 } | 406 } |
407 | 407 |
408 SqlTransaction.internal_() { } | 408 SqlTransaction.internal_() { } |
409 | 409 |
410 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 410 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
411 int get hashCode => unwrap_jso(this).hashCode; | 411 int get hashCode => unwrap_jso(this).hashCode; |
412 | 412 |
413 @DomName('SQLTransaction.executeSql') | 413 @DomName('SQLTransaction.executeSql') |
414 @DocsEditable() | 414 @DocsEditable() |
415 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall
back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans
action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, arguments
, unwrap_jso((transaction, resultSet) => callback(wrap_jso(transaction), wrap_js
o(resultSet))), unwrap_jso((transaction, error) => errorCallback(wrap_jso(transa
ction), wrap_jso(error)))); | 415 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall
back callback, SqlStatementErrorCallback errorCallback]) => _blink.BlinkSQLTrans
action.instance.executeSql_Callback_4_(unwrap_jso(this), sqlStatement, unwrap_js
o(arguments), unwrap_jso((transaction, resultSet) => callback(wrap_jso(transacti
on), wrap_jso(resultSet))), unwrap_jso((transaction, error) => errorCallback(wra
p_jso(transaction), wrap_jso(error)))); |
416 | 416 |
417 } | 417 } |
OLD | NEW |