This topic has not yet been rated - Rate this topic

IDBCursor object

A cursor lets you iterate (walk through) a set of records from either an object store or an index.

DOM Information

Inheritance Hierarchy

The IDBCursor does not inherit from any class or interface.

Members

The IDBCursor object has these types of members:

Methods

The IDBCursor object has these methods.

MethodDescription
advance

Advances the position of a cursor forward by a specified number of records.

continue

Advances the position of cursor object to the next object.

openCursor

Returns a cursor object positioned at the first record object in a data source, optionally filtered by a key range and ordered by a direction.

update

Updates a value in the current record of the cursor.

 

Properties

The IDBCursor object has these properties.

PropertyDescription

direction

Indicates the direction of traversal within a cursor.

key

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

primaryKey

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

source

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

 

Standards information

 

 

Build date: 11/22/2012

© 2013 Microsoft. All rights reserved.