IDBCursor interface of the IndexedDB API represents a cursor for traversing or iterating over multiple records in a database.
Returns the direction of traversal of the cursor. See Constants for possible values.
Returns the key for the record at the cursor's position. If the cursor is outside its range, this is set to
undefined. The cursor's key can be any data type.
Returns the cursor's current effective primary key. If the cursor is currently being iterated or has iterated outside its range, this is set to
undefined. The cursor's primary key can be any data type.