Home | History | Annotate | Download | only in embenchen

Lines Matching defs:db

2225         var db = IDBFS.dbs[name];
2226 if (db) {
2227 return callback(null, db);
2237 var db = e.target.result;
2242 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
2245 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
2251 db = req.result;
2254 IDBFS.dbs[name] = db;
2255 callback(null, db);
2295 IDBFS.getDB(mount.mountpoint, function(err, db) {
2298 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
2308 return callback(null, { type: 'remote', db: db, entries: entries });
2406 var db = src.type === 'remote' ? src.db : dst.db;
2407 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
4095 console.log('creating db');
4096 var db = openRequest.result;
4097 db.createObjectStore(FS.DB_STORE_NAME);
4100 var db = openRequest.result;
4101 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
4126 var db = openRequest.result;
4128 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');