Lines Matching defs:db
1950 var db = IDBFS.dbs[name];
1951 if (db) {
1952 return callback(null, db);
1962 var db = e.target.result;
1967 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
1970 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
1976 db = req.result;
1979 IDBFS.dbs[name] = db;
1980 callback(null, db);
2020 IDBFS.getDB(mount.mountpoint, function(err, db) {
2023 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
2033 return callback(null, { type: 'remote', db: db, entries: entries });
2131 var db = src.type === 'remote' ? src.db : dst.db;
2132 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
3820 console.log('creating db');
3821 var db = openRequest.result;
3822 db.createObjectStore(FS.DB_STORE_NAME);
3825 var db = openRequest.result;
3826 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
3851 var db = openRequest.result;
3853 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');