IDBPDatabase
§Properties
The names of stores in the database.
§Methods
Add a value to a store.
Rejects if an item of a given key already exists in the store.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Deletes all records in a store.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Retrieves the number of records matching the given query in a store.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Retrieves the number of records matching the given query in an index.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Name of the index within the store.
Creates a new object store.
Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
Deletes records in a store matching the given query.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Deletes the object store with the given name.
Throws a "InvalidStateError" DOMException if not called within an upgrade transaction.
Retrieves the value of the first record in a store matching the query.
Resolves with undefined if no match is found.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Retrieves all values in a store that match the query.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Maximum number of values to return.
Retrieves all values in an index that match the query.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Name of the index within the store.
Maximum number of values to return.
Retrieves the keys of records in a store matching the query.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Maximum number of keys to return.
Retrieves the keys of records in an index matching the query.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Name of the index within the store.
Maximum number of keys to return.
Retrieves the value of the first record in an index matching the query.
Resolves with undefined if no match is found.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Name of the index within the store.
Retrieves the key of the first record in a store that matches the query.
Resolves with undefined if no match is found.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Retrieves the key of the first record in an index that matches the query.
Resolves with undefined if no match is found.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Name of the index within the store.
Put an item in the database.
Replaces any item with the same key.
This is a shortcut that creates a transaction for this single action. If you need to do more than one action, create a transaction instead.
Name of the store.
Start a new transaction.
The object store(s) this transaction needs.