Indexed Database Properties

This topic provides an alphabetical list of the properties supported by Indexed Database objects.

In this section

TopicDescription

code

Returns a numeric value representing the error that triggered an exception.

db

The database associated with the transaction.

direction

Indicates the direction of traversal within a cursor.

error

Returns an object describing an error condition.

errorCode

If a request fails, this property contains a code indicating the reason for the failure.

indexedDB

Allows access to the Indexed Database API, as implemented by Internet Explorer 10.

indexNames

Returns the names of indexes associated with an object store.

key

The key value for the record currently displayed by the cursor.

keyPath

Specifies the attribute that contains a unique value for the record in the object store.

lower

Specifies the lowest value of a key range.

lowerOpen

Indicates whether a lower bound key range includes the lower value specified for the range.

message

Describes the error that generated the exception.

mode

Describes the operations supported by a transaction.

name

The name of an object store, index, or other database object.

newVersion

Returns the new version number associated with a database.

objectStore

A reference to the object store associated with the index.

objectStoreNames

Returns the names of object stores associated with a database.

oldVersion

Returns the old version number associated with a database.

primaryKey

Returns the value of the primary key associated with a record.

readyState

Indicates the status of the request.

result

Returns the result of a request.

source

Returns a reference to the source of a request, such as an object store or a cursor.

transaction

Returns a reference to the transaction associated with the request.

unique

Indicates whether the index allows duplicate key values.

upper

Specifies the highest value of a key range.

upperOpen

Indicates whether an upper bound key range includes the upper value specified for the range.

value

Returns the value of the data at the cursor's current position.

version

Gets the version of the database.

 

 

 

Show:
© 2014 Microsoft