Searched refs:objectStore (Results 1 – 3 of 3) sorted by relevance
/developtools/smartperf_host/ide/src/trace/database/ |
D | DBUtils.ts | 41 let objectStore = db.createObjectStore('trace_file', { keyPath: 'file_index' }); 42 objectStore.createIndex('file_no', 'file_no'); 43 objectStore.createIndex('file_id', 'file_id'); 44 objectStore.createIndex('file_time', 'file_time'); 45 objectStore.createIndex('file_buffer', 'file_buffer'); 56 let objectStore = db.transaction(['trace_file'], 'readwrite').objectStore('trace_file'); 57 let request = objectStore.getAll(); 62 objectStore.delete(re.file_index); 82 let objectStore = db.transaction(['trace_file'], 'readwrite').objectStore('trace_file'); 83 let request = objectStore.index('file_id').getAll(oldFileId); [all …]
|
D | IndexedDBHelp.ts | 37 … let objectStore = database.createObjectStore(optionName, option.objectStoreParameters); 40 … objectStore.createIndex(dataItem.name, dataItem.keypath, dataItem.indexParameters); 42 objectStore.createIndex(dataItem.name, dataItem.keypath); 46 let objectStore = database.createObjectStore(optionName); 49 objectStore.createIndex(dataItem.name, dataItem.name, dataItem.indexParameters); 51 objectStore.createIndex(dataItem.name, dataItem.name); 79 return transaction.objectStore(storeName); 84 this.getObjectStore(storeName).then((objectStore: IDBObjectStore) => { 87 const index = objectStore.index(queryIndex); 90 request = objectStore.getAll(query); [all …]
|
D | TraceWorker.ts | 738 let store = transaction.objectStore(STORE_NAME); 913 const store = transaction.objectStore(STORE_NAME); 1237 const objectStore = transaction.objectStore(STORE_NAME); constant 1238 const request = objectStore.add(value, key);
|