Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

direction property

Indicates the direction of traversal within a cursor.

This property is read-only.

Internet Explorer 10

Syntax

JavaScript
dir = object.direction

Property values

Type: DOMString

The direction of record traversal.

ValueCondition
"next"

The cursor contains duplicate values and is traversing key values in ascending order.

"nextunique"

The cursor contains only unique values and is traversing key values in ascending order.

"prev"

The cursor contains duplicate values and is traversing key values in descending order.

"prevunique"

The cursor contains only unique values and is traversing key values in descending order.

 

Standards information

See also

IDBCursor

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.