Module
Database.IndexedDB.IDBTransaction  
- Package
- purescript-indexed-db
- Repository
- ilyakooo0/purescript-indexed-DB
An object store is the primary storage mechanism for storing data in a database.
#abort Source
abort :: forall tx. IDBTransaction tx => tx -> Aff UnitAborts the transaction. All pending requests will fail with a "AbortError" DOMException and all changes made to the database will be reverted.
#objectStore Source
objectStore :: forall tx. IDBTransaction tx => tx -> String -> Aff ObjectStoreReturns an IDBObjectStore in the transaction's scope.
#error Source
error :: Transaction -> Maybe ErrorIf the transaction was aborted, returns the error (a DOMException) providing the reason.
#mode Source
mode :: Transaction -> TransactionModeReturns the mode the transaction was created with (ReadOnly|ReadWrite)
, or VersionChange for an upgrade transaction.
#onComplete Source
onComplete :: Transaction -> Effect Unit -> Aff UnitEvent handler for the complete event.
- 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