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 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
372 } | 372 } |
373 | 373 |
374 void retainWhere(bool test(Map element)) { | 374 void retainWhere(bool test(Map element)) { |
375 throw new UnsupportedError("Cannot remove from immutable List."); | 375 throw new UnsupportedError("Cannot remove from immutable List."); |
376 } | 376 } |
377 | 377 |
378 void setRange(int start, int end, List<Map> from, [int startFrom]) { | 378 void setRange(int start, int end, List<Map> from, [int startFrom]) { |
379 throw new UnsupportedError("Cannot setRange on immutable List."); | 379 throw new UnsupportedError("Cannot setRange on immutable List."); |
380 } | 380 } |
381 | 381 |
382 void removeRange(int start, int rangeLength) { | 382 void removeRange(int start, int end) { |
383 throw new UnsupportedError("Cannot removeRange on immutable List."); | 383 throw new UnsupportedError("Cannot removeRange on immutable List."); |
384 } | 384 } |
385 | 385 |
386 void insertRange(int start, int rangeLength, [Map initialValue]) { | 386 void insertRange(int start, int rangeLength, [Map initialValue]) { |
387 throw new UnsupportedError("Cannot insertRange on immutable List."); | 387 throw new UnsupportedError("Cannot insertRange on immutable List."); |
388 } | 388 } |
389 | 389 |
390 Iterable<Map> getRange(int start, int end) => | 390 Iterable<Map> getRange(int start, int end) => |
391 IterableMixinWorkaround.getRangeList(this, start, end); | 391 IterableMixinWorkaround.getRangeList(this, start, end); |
392 | 392 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 // BSD-style license that can be found in the LICENSE file. | 452 // BSD-style license that can be found in the LICENSE file. |
453 | 453 |
454 | 454 |
455 @DocsEditable | 455 @DocsEditable |
456 @DomName('SQLTransactionSync') | 456 @DomName('SQLTransactionSync') |
457 @SupportedBrowser(SupportedBrowser.CHROME) | 457 @SupportedBrowser(SupportedBrowser.CHROME) |
458 @SupportedBrowser(SupportedBrowser.SAFARI) | 458 @SupportedBrowser(SupportedBrowser.SAFARI) |
459 @Experimental | 459 @Experimental |
460 abstract class _SQLTransactionSync native "*SQLTransactionSync" { | 460 abstract class _SQLTransactionSync native "*SQLTransactionSync" { |
461 } | 461 } |
OLD | NEW |