Sqlite plugin FOR loop callback

Hi All,

I’m using https://github.com/litehelpers/Cordova-sqlite-storage this plugin for my project.

I want to know if there is a callback function when FOR loop finish?

for (var i = 0; i < length; i++) {
  (function(i) {
    $cordovaSQLite.execute(db, sql);
  })(i);
}
somecallback()?