The Core module gathers types used across the library and provides basic Show instances for those types.
A cursor has a direction that determines whether it moves in monotonically increasing or decreasing order of the record keys when iterated, and if it skips duplicated values when iterating indexes. The direction of a cursor also determines if the cursor initial position is at the start of its source or at its end.
If the source of a cursor is an object store, the effective object store of the cursor is that object store and the effective key of the cursor is the cursor’s position. If the source of a cursor is an index, the effective object store of the cursor is that index’s referenced object store and the effective key is the cursor’s object store position.
A key path is a list of strings that defines how to extract a key from a value. A valid key path is one of:
- An empty list.
- An singleton identifier, which is a string matching the IdentifierName production from the ECMAScript Language Specification [ECMA-262].
- A singleton string consisting of two or more identifiers separated by periods (U+002E FULL STOP).
- A non-empty list containing only strings conforming to the above requirements.
A transaction has a mode that determines which types of interactions can be performed upon that transaction. The mode is set when the transaction is created and remains fixed for the life of the transaction.
Re-exports from Database.
class IDBKey a where
Interface describing a key. Use the
unsafeFromKey to convert a key
to a known type (e.g if you only strings as keys, or perfectly knows the
type of a given key).
IndexedDB. IDBKey. Internal