Home | History | Annotate | Download | only in embenchen

Lines Matching defs:db

1948         var db = IDBFS.dbs[name];
1949 if (db) {
1950 return callback(null, db);
1960 var db = e.target.result;
1965 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
1968 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
1974 db = req.result;
1977 IDBFS.dbs[name] = db;
1978 callback(null, db);
2018 IDBFS.getDB(mount.mountpoint, function(err, db) {
2021 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
2031 return callback(null, { type: 'remote', db: db, entries: entries });
2129 var db = src.type === 'remote' ? src.db : dst.db;
2130 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
3818 console.log('creating db');
3819 var db = openRequest.result;
3820 db.createObjectStore(FS.DB_STORE_NAME);
3823 var db = openRequest.result;
3824 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
3849 var db = openRequest.result;
3851 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');