Definition
Indexed Database API 3.0 defines IDBRequest
[Exposed=(Window,Worker)]
interface IDBRequest : EventTarget {
readonly attribute any result;
readonly attribute DOMException? error;
readonly attribute (IDBObjectStore or IDBIndex or IDBCursor)? source;
readonly attribute IDBTransaction? transaction;
readonly attribute IDBRequestReadyState readyState;
// Event handlers:
attribute EventHandler onsuccess;
attribute EventHandler onerror;
};
Methods and attributes that return objects implementing IDBRequest
IDBObjectStore.put()IDBObjectStore.add()IDBObjectStore.delete()IDBObjectStore.clear()IDBObjectStore.get()IDBObjectStore.getKey()IDBObjectStore.getAll()IDBObjectStore.getAllKeys()IDBObjectStore.getAllRecords()IDBObjectStore.count()IDBObjectStore.openCursor()IDBObjectStore.openKeyCursor()IDBIndex.get()IDBIndex.getKey()IDBIndex.getAll()IDBIndex.getAllKeys()IDBIndex.getAllRecords()IDBIndex.count()IDBIndex.openCursor()IDBIndex.openKeyCursor()IDBCursor.requestIDBCursor.update()IDBCursor.delete()