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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 @deprecated // deprecated | 285 @deprecated // deprecated |
286 @Native("SQLTransaction") | 286 @Native("SQLTransaction") |
287 class SqlTransaction extends Interceptor { | 287 class SqlTransaction extends Interceptor { |
288 // To suppress missing implicit constructor warnings. | 288 // To suppress missing implicit constructor warnings. |
289 factory SqlTransaction._() { throw new UnsupportedError("Not supported"); } | 289 factory SqlTransaction._() { throw new UnsupportedError("Not supported"); } |
290 | 290 |
291 @DomName('SQLTransaction.executeSql') | 291 @DomName('SQLTransaction.executeSql') |
292 @DocsEditable() | 292 @DocsEditable() |
293 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall
back callback, SqlStatementErrorCallback errorCallback]) native; | 293 void executeSql(String sqlStatement, List<Object> arguments, [SqlStatementCall
back callback, SqlStatementErrorCallback errorCallback]) native; |
294 } | 294 } |
295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
296 // for details. All rights reserved. Use of this source code is governed by a | |
297 // BSD-style license that can be found in the LICENSE file. | |
298 | |
299 | |
300 @DocsEditable() | |
301 @DomName('SQLTransactionSync') | |
302 @SupportedBrowser(SupportedBrowser.CHROME) | |
303 @SupportedBrowser(SupportedBrowser.SAFARI) | |
304 @Experimental() | |
305 // http://www.w3.org/TR/webdatabase/#sqltransactionsync | |
306 @Experimental() // deprecated | |
307 @Native("SQLTransactionSync") | |
308 abstract class _SQLTransactionSync extends Interceptor { | |
309 // To suppress missing implicit constructor warnings. | |
310 factory _SQLTransactionSync._() { throw new UnsupportedError("Not supported");
} | |
311 } | |
OLD | NEW |