Module
Database.IndexedDB.IDBIndex
- Package
- purescript-indexed-db
- Repository
- ilyakooo0/purescript-indexed-DB
An index allows looking up records in an object store using properties of the values in the object stores records.
#openCursor Source
openCursor :: forall index. IDBIndex index => index -> Maybe KeyRange -> CursorDirection -> Callbacks ValueCursor -> Aff Unit
Opens a ValueCursor over the records matching query, ordered by direction.
If query is Nothing
, all records in index are matched.
#openKeyCursor Source
openKeyCursor :: forall index. IDBIndex index => index -> Maybe KeyRange -> CursorDirection -> Callbacks KeyCursor -> Aff Unit
Opens a KeyCursor over the records matching query, ordered by direction.
If query is Nothing
, all records in index are matched.
#multiEntry Source
multiEntry :: Index -> Boolean
Returns true if the index's multiEntry flag is set.
#objectStore Source
objectStore :: Index -> ObjectStore
Returns the IDBObjectStore the index belongs to.
- Modules
- Database.
IndexedDB. Core - Database.
IndexedDB. IDBCursor - Database.
IndexedDB. IDBDatabase - Database.
IndexedDB. IDBFactory - Database.
IndexedDB. IDBIndex - Database.
IndexedDB. IDBKey - Database.
IndexedDB. IDBKey. Internal - Database.
IndexedDB. IDBKeyRange - Database.
IndexedDB. IDBObjectStore - Database.
IndexedDB. IDBTransaction