You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If returning a Promise from from a sub transaction, parent transaction will abort in the middle of it's operations as examplified below:
db.transaction('rw',db.someTable,function(){db.someTable.get(1).then(function(x){db.someTable.get(1).then(function(x){}).catch(function(err){// Will come here because the sub transaction below returns a promise.});});db.transaction('rw',db.someTable,function(){returndb.someTable.get(1);};});
The text was updated successfully, but these errors were encountered:
If returning a Promise from from a sub transaction, parent transaction will abort in the middle of it's operations as examplified below:
The text was updated successfully, but these errors were encountered: