Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Ionic 2 SqlStorage transactions, how to use?

$
0
0

in your outcommented code --> your !this.getDB().transaction(function(tx) {" call returns a promise, but your queryAll function as no return value. you need to create a promise before, return it at the end of queryAll.

In your transaction you need to reject/resolve this promise.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>