Results 21 - 40 of 125

IDBDatabase.version

An integer containing the version of the connected database.
API Database IDBDatabase IndexedDB Property Reference Storage storage version

IDBEnvironment.indexedDB

The indexedDB property of the IDBEnvironment interface provides a mechanism for applications to asynchronously access the capabilities of indexed databases.
API Database IDBEnvironment IndexedDB Property Reference Référence Storage

IDBFactory.cmp()

An integer that indicates the result of the comparison; the table below lists the possible values and their meanings:
API cmp Database IDBFactory IndexedDB Method Reference Storage storage

IDBFactory.deleteDatabase()

If the database is successfully deleted, then a success event is fired on the request object returned from this method, with its result set to undefined. If an error occurs while the database is being deleted, then an error event is fired on the request object that is returned from this method.
API Database deleteDatabase IDBFactory IndexedDB Method Reference storage Storage

IDBFactory.open()

If an error occurs while the database connection is being opened, then an error event is fired on the request object returned from this method.
API Database IDBFactory IndexedDB Method open Reference storage Storage

IDBIndex

IDBIndex interface of the IndexedDB API provides asynchronous access to an index in a database. An index is a kind of object store for looking up records in another object store, called the referenced object store. You use this interface to retrieve data.
API Database IDBIndex IndexedDB Interface Reference Storage storage

IDBIndex.count()

A IDBRequest object on which subsequent events related to this operation are fired.
API count Database IDBIndex IndexedDB Method Reference storage Storage

IDBIndex.get()

If a value is successfully found, then a structured clone of it is created and set as the result of the request object: this returns the record the key is associated with.
API Database IDBIndex IndexedDB Method Reference Storage storage

IDBIndex.getAll()

There is a performance cost associated with looking at the value property of a cursor, because the object is created lazily. To use a feature like getAll(), Gecko would have to create all the objects at once. If you were just interested in looking at each of the keys, for instance, it would be much more efficient to use a cursor. If you were trying to get an array of all the objects in an object store, though, you could use getAll().
API Database IDBIndex IndexedDB Method Reference Référence storage Storage

IDBIndex.getKey()

If a key is successfully found it is set as the result of the request object: this returns the primary key of the record the key is associated with, not the whole record as IDBIndex.get does.
API Database IDBIndex IndexedDB Method Reference Storage storage

IDBIndex.isAutoLocale

The isAutoLocale read-only property of the IDBIndex interface returns a Boolean indicating whether the index had a locale value of auto specified upon its creation (see createIndex()'s optionalParameters.)
API Database Experimental IDBIndex IndexedDB isAutoLocale Property Reference Storage storage

IDBIndex.keyPath

Any data type that can be used as a key path.
API Database IDBIndex IndexedDB keyPath Property Reference storage Storage

IDBIndex.locale

The locale read-only property of the IDBIndex interface returns the locale of the index (for example en-US, or pl) if it had a locale value specified upon its creation (see createIndex()'s optionalParameters.) Note that this property always returns the current locale being used in this index, in other words, it never returns "auto".
API Database Experimental IDBIndex IndexedDB Locale Property Reference Storage storage

IDBIndex.openCursor()

The method sets the position of the cursor to the appropriate record, based on the specified direction.
API Database IDBIndex IndexedDB Method openCursor Reference storage Storage

IDBIndex.openKeyCursor()

The method sets the position of the cursor to the appropriate key, based on the specified direction.
API Database IDBIndex IndexedDB Method openKeyCursor Reference storage Storage