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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 Map elementAt(int index) { | 321 Map elementAt(int index) { |
322 return this[index]; | 322 return this[index]; |
323 } | 323 } |
324 | 324 |
325 // From Collection<Map>: | 325 // From Collection<Map>: |
326 | 326 |
327 void add(Map value) { | 327 void add(Map value) { |
328 throw new UnsupportedError("Cannot add to immutable List."); | 328 throw new UnsupportedError("Cannot add to immutable List."); |
329 } | 329 } |
330 | 330 |
331 void addLast(Map value) { | |
332 throw new UnsupportedError("Cannot add to immutable List."); | |
333 } | |
334 | |
335 void addAll(Iterable<Map> iterable) { | 331 void addAll(Iterable<Map> iterable) { |
336 throw new UnsupportedError("Cannot add to immutable List."); | 332 throw new UnsupportedError("Cannot add to immutable List."); |
337 } | 333 } |
338 | 334 |
339 // From List<Map>: | 335 // From List<Map>: |
340 void set length(int value) { | 336 void set length(int value) { |
341 throw new UnsupportedError("Cannot resize immutable List."); | 337 throw new UnsupportedError("Cannot resize immutable List."); |
342 } | 338 } |
343 | 339 |
344 void clear() { | 340 void clear() { |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 @DomName('SQLTransactionSync') | 473 @DomName('SQLTransactionSync') |
478 @SupportedBrowser(SupportedBrowser.CHROME) | 474 @SupportedBrowser(SupportedBrowser.CHROME) |
479 @SupportedBrowser(SupportedBrowser.SAFARI) | 475 @SupportedBrowser(SupportedBrowser.SAFARI) |
480 @Experimental | 476 @Experimental |
481 class SqlTransactionSync native "*SQLTransactionSync" { | 477 class SqlTransactionSync native "*SQLTransactionSync" { |
482 | 478 |
483 @DomName('SQLTransactionSync.executeSql') | 479 @DomName('SQLTransactionSync.executeSql') |
484 @DocsEditable | 480 @DocsEditable |
485 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 481 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
486 } | 482 } |
OLD | NEW |