Lines Matching defs:db
1842 var db = IDBFS.dbs[name];
1843 if (db) {
1844 return callback(null, db);
1854 var db = e.target.result;
1859 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
1862 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
1868 db = req.result;
1871 IDBFS.dbs[name] = db;
1872 callback(null, db);
1912 IDBFS.getDB(mount.mountpoint, function(err, db) {
1915 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
1925 return callback(null, { type: 'remote', db: db, entries: entries });
2023 var db = src.type === 'remote' ? src.db : dst.db;
2024 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
3712 console.log('creating db');
3713 var db = openRequest.result;
3714 db.createObjectStore(FS.DB_STORE_NAME);
3717 var db = openRequest.result;
3718 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
3743 var db = openRequest.result;
3745 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');