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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 } | 228 } |
229 | 229 |
230 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Map)) { | 230 dynamic fold(dynamic initialValue, dynamic combine(dynamic, Map)) { |
231 return IterableMixinWorkaround.fold(this, initialValue, combine); | 231 return IterableMixinWorkaround.fold(this, initialValue, combine); |
232 } | 232 } |
233 | 233 |
234 bool contains(Map element) => IterableMixinWorkaround.contains(this, element); | 234 bool contains(Map element) => IterableMixinWorkaround.contains(this, element); |
235 | 235 |
236 void forEach(void f(Map element)) => IterableMixinWorkaround.forEach(this, f); | 236 void forEach(void f(Map element)) => IterableMixinWorkaround.forEach(this, f); |
237 | 237 |
238 String join([String separator]) => | 238 String join([String separator = ""]) => |
239 IterableMixinWorkaround.joinList(this, separator); | 239 IterableMixinWorkaround.joinList(this, separator); |
240 | 240 |
241 Iterable map(f(Map element)) => | 241 Iterable map(f(Map element)) => |
242 IterableMixinWorkaround.mapList(this, f); | 242 IterableMixinWorkaround.mapList(this, f); |
243 | 243 |
244 Iterable<Map> where(bool f(Map element)) => | 244 Iterable<Map> where(bool f(Map element)) => |
245 IterableMixinWorkaround.where(this, f); | 245 IterableMixinWorkaround.where(this, f); |
246 | 246 |
247 Iterable expand(Iterable f(Map element)) => | 247 Iterable expand(Iterable f(Map element)) => |
248 IterableMixinWorkaround.expand(this, f); | 248 IterableMixinWorkaround.expand(this, f); |
(...skipping 203 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 |