Home | History | Annotate | Download | only in embenchen

Lines Matching defs:db

1951         var db = IDBFS.dbs[name];
1952 if (db) {
1953 return callback(null, db);
1963 var db = e.target.result;
1968 if (db.objectStoreNames.contains(IDBFS.DB_STORE_NAME)) {
1971 fileStore = db.createObjectStore(IDBFS.DB_STORE_NAME);
1977 db = req.result;
1980 IDBFS.dbs[name] = db;
1981 callback(null, db);
2021 IDBFS.getDB(mount.mountpoint, function(err, db) {
2024 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readonly');
2034 return callback(null, { type: 'remote', db: db, entries: entries });
2132 var db = src.type === 'remote' ? src.db : dst.db;
2133 var transaction = db.transaction([IDBFS.DB_STORE_NAME], 'readwrite');
3821 console.log('creating db');
3822 var db = openRequest.result;
3823 db.createObjectStore(FS.DB_STORE_NAME);
3826 var db = openRequest.result;
3827 var transaction = db.transaction([FS.DB_STORE_NAME], 'readwrite');
3852 var db = openRequest.result;
3854 var transaction = db.transaction([FS.DB_STORE_NAME], 'readonly');