Lines Matching defs:db
1947 var db = IDBFS.dbs[name];
1948 if (db) {
1949 return callback(null, db);
1959 var db = e.target.result;
1964 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
1967 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
1973 db = req.result;
1976 IDBFS.dbs[name] = db;
1977 callback(null, db);
2017 IDBFS.getDB(mount.mountpoint, function(err, db) {
2020 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
2030 return callback(null, { type: 'remote', db: db, entries: entries });
2128 var db = src.type === 'remote' ? src.db : dst.db;
2129 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
3817 console.log('creating db');
3818 var db = openRequest.result;
3819 db.createObjectStore(FS.DB_STORE_NAME);
3822 var db = openRequest.result;
3823 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
3848 var db = openRequest.result;
3850 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');