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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 } | 378 } |
379 | 379 |
380 void retainWhere(bool test(Map element)) { | 380 void retainWhere(bool test(Map element)) { |
381 throw new UnsupportedError("Cannot remove from immutable List."); | 381 throw new UnsupportedError("Cannot remove from immutable List."); |
382 } | 382 } |
383 | 383 |
384 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) { | 384 void setRange(int start, int end, Iterable<Map> iterable, [int skipCount]) { |
385 throw new UnsupportedError("Cannot setRange on immutable List."); | 385 throw new UnsupportedError("Cannot setRange on immutable List."); |
386 } | 386 } |
387 | 387 |
388 void removeRange(int start, int rangeLength) { | 388 void removeRange(int start, int end) { |
389 throw new UnsupportedError("Cannot removeRange on immutable List."); | 389 throw new UnsupportedError("Cannot removeRange on immutable List."); |
390 } | 390 } |
391 | 391 |
392 void insertRange(int start, int rangeLength, [Map initialValue]) { | 392 void insertRange(int start, int rangeLength, [Map initialValue]) { |
393 throw new UnsupportedError("Cannot insertRange on immutable List."); | 393 throw new UnsupportedError("Cannot insertRange on immutable List."); |
394 } | 394 } |
395 | 395 |
396 Iterable<Map> getRange(int start, int end) => | 396 Iterable<Map> getRange(int start, int end) => |
397 IterableMixinWorkaround.getRangeList(this, start, end); | 397 IterableMixinWorkaround.getRangeList(this, start, end); |
398 | 398 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 | 463 |
464 @DocsEditable | 464 @DocsEditable |
465 @DomName('SQLTransactionSync') | 465 @DomName('SQLTransactionSync') |
466 @SupportedBrowser(SupportedBrowser.CHROME) | 466 @SupportedBrowser(SupportedBrowser.CHROME) |
467 @SupportedBrowser(SupportedBrowser.SAFARI) | 467 @SupportedBrowser(SupportedBrowser.SAFARI) |
468 @Experimental | 468 @Experimental |
469 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { | 469 abstract class _SQLTransactionSync extends NativeFieldWrapperClass1 { |
470 _SQLTransactionSync.internal(); | 470 _SQLTransactionSync.internal(); |
471 | 471 |
472 } | 472 } |
OLD | NEW |