| 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 431 if (end == null) end = length; | 431 if (end == null) end = length; |
| 432 return Lists.getRange(this, start, end, <Map>[]); | 432 return Lists.getRange(this, start, end, <Map>[]); |
| 433 } | 433 } |
| 434 | 434 |
| 435 List<Map> getRange(int start, int rangeLength) => | 435 List<Map> getRange(int start, int rangeLength) => |
| 436 sublist(start, start + rangeLength); | 436 sublist(start, start + rangeLength); |
| 437 | 437 |
| 438 Map<int, Map> asMap() => | 438 Map<int, Map> asMap() => |
| 439 IterableMixinWorkaround.asMapList(this); | 439 IterableMixinWorkaround.asMapList(this); |
| 440 | 440 |
| 441 String toString() { |
| 442 StringBuffer buffer = new StringBuffer('['); |
| 443 buffer.writeAll(this, ', '); |
| 444 buffer.write(']'); |
| 445 return buffer.toString(); |
| 446 } |
| 447 |
| 441 // -- end List<Map> mixins. | 448 // -- end List<Map> mixins. |
| 442 | 449 |
| 443 @DomName('SQLResultSetRowList.item') | 450 @DomName('SQLResultSetRowList.item') |
| 444 @DocsEditable | 451 @DocsEditable |
| 445 @Creates('=Object') | 452 @Creates('=Object') |
| 446 Map item(int index) { | 453 Map item(int index) { |
| 447 return convertNativeToDart_Dictionary(_item_1(index)); | 454 return convertNativeToDart_Dictionary(_item_1(index)); |
| 448 } | 455 } |
| 449 @JSName('item') | 456 @JSName('item') |
| 450 @DomName('SQLResultSetRowList.item') | 457 @DomName('SQLResultSetRowList.item') |
| (...skipping 26 matching lines...) Expand all Loading... |
| 477 @DomName('SQLTransactionSync') | 484 @DomName('SQLTransactionSync') |
| 478 @SupportedBrowser(SupportedBrowser.CHROME) | 485 @SupportedBrowser(SupportedBrowser.CHROME) |
| 479 @SupportedBrowser(SupportedBrowser.SAFARI) | 486 @SupportedBrowser(SupportedBrowser.SAFARI) |
| 480 @Experimental | 487 @Experimental |
| 481 class SqlTransactionSync native "*SQLTransactionSync" { | 488 class SqlTransactionSync native "*SQLTransactionSync" { |
| 482 | 489 |
| 483 @DomName('SQLTransactionSync.executeSql') | 490 @DomName('SQLTransactionSync.executeSql') |
| 484 @DocsEditable | 491 @DocsEditable |
| 485 SqlResultSet executeSql(String sqlStatement, List arguments) native; | 492 SqlResultSet executeSql(String sqlStatement, List arguments) native; |
| 486 } | 493 } |
| OLD | NEW |