The request object does not initially contain any information about the result of the operation, but once information becomes available, an event is fired on the request, and the information becomes available through the properties of the
Returns an error in the event of an unsuccessful request, indicating what went wrong.
The state of the request. Every request starts in the
pending state. The state changes to
done when the request completes successfully or when an error occurs.
Returns the result of the request. If the the request failed and the result is not available, an InvalidStateError exception is thrown.
The source of the request, such as an
IDBIndex or an
IDBObjectStore. If no source exists (such as when calling
IDBFactory.open), it returns null.