Added db.allSync() and db.execSync()