The request object does not initially contain any information the result of the operation, but once information becomes available, event is fired on the request, and the information becomes available the properties of the IDBRequest instance.
The request object does not initially contain any information the result of the operation, but once information becomes available, event is fired on the request, and the information becomes available the properties of the IDBRequest instance.
(error this)
Property.
[Read Only]
A web.deprecated.DOMError
containing the relevant error. In
48+/Firefox 58+ this property returns a web.DOMException
because
has been removed from the DOM standard. The following error codes
returned under certain conditions:
var myError = request.error;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error
Property. [Read Only] A `web.deprecated.DOMError` containing the relevant error. In 48+/Firefox 58+ this property returns a `web.DOMException` because has been removed from the DOM standard. The following error codes returned under certain conditions: `var myError = request.error;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/error`
(onerror this)
Property.
The following example requests a given record title, onsuccess
the associated record from the web.idb.IDBObjectStore
(made
as objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
included at the bottom is an onerror function that reports what
error was if the request fails. For a full working example, see
To-do Notifications app (view example live.)
request.onerror = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror
Property. The following example requests a given record title, onsuccess the associated record from the `web.idb.IDBObjectStore` (made as objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. included at the bottom is an onerror function that reports what error was if the request fails. For a full working example, see To-do Notifications app (view example live.) `request.onerror = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror`
(onsuccess this)
Property.
The following example requests a given record title, onsuccess
the associated record from the web.idb.IDBObjectStore
(made
as objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
a full working example, see our To-do Notifications app (view
live.)
request.onsuccess = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess
Property. The following example requests a given record title, onsuccess the associated record from the `web.idb.IDBObjectStore` (made as objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. a full working example, see our To-do Notifications app (view live.) `request.onsuccess = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess`
(ready-state this)
Property.
[Read Only]
The IDBRequestReadyState
of the request, which takes one of
following two values:
var currentReadyState = request.readyState;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState
Property. [Read Only] The `IDBRequestReadyState` of the request, which takes one of following two values: `var currentReadyState = request.readyState;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/readyState`
(result this)
Property.
[Read Only]
any
var myResult = request.result;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result
Property. [Read Only] any `var myResult = request.result;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/result`
(set-onerror! this val)
Property.
The following example requests a given record title, onsuccess
the associated record from the web.idb.IDBObjectStore
(made
as objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
included at the bottom is an onerror function that reports what
error was if the request fails. For a full working example, see
To-do Notifications app (view example live.)
request.onerror = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror
Property. The following example requests a given record title, onsuccess the associated record from the `web.idb.IDBObjectStore` (made as objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. included at the bottom is an onerror function that reports what error was if the request fails. For a full working example, see To-do Notifications app (view example live.) `request.onerror = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onerror`
(set-onsuccess! this val)
Property.
The following example requests a given record title, onsuccess
the associated record from the web.idb.IDBObjectStore
(made
as objectStoreTitleRequest.result), updates one property of the
and then puts the updated record back into the object store.
a full working example, see our To-do Notifications app (view
live.)
request.onsuccess = function(event) { ... };
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess
Property. The following example requests a given record title, onsuccess the associated record from the `web.idb.IDBObjectStore` (made as objectStoreTitleRequest.result), updates one property of the and then puts the updated record back into the object store. a full working example, see our To-do Notifications app (view live.) `request.onsuccess = function(event) { ... };` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/onsuccess`
(source this)
Property.
[Read Only]
An object representing the source of the request, such as an
web.idb.IDBObjectStore
or web.storage.IDBCursor
.
var IDBIndex = request.source; var IDBCursor = request.source; var IDBObjectStore = request.source;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source
Property. [Read Only] An object representing the source of the request, such as an `web.idb.IDBObjectStore` or `web.storage.IDBCursor`. `var IDBIndex = request.source; var IDBCursor = request.source; var IDBObjectStore = request.source;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/source`
(transaction this)
Property.
[Read Only]
An web.storage.IDBTransaction
.
var myTransaction = request.transaction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction
Property. [Read Only] An `web.storage.IDBTransaction`. `var myTransaction = request.transaction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBRequest/transaction`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close