Safe Haskell | None |
---|---|
Language | Haskell2010 |
- createObjectStore :: (MonadDOM m, ToJSString name) => IDBDatabase -> name -> Maybe IDBObjectStoreParameters -> m IDBObjectStore
- createObjectStore_ :: (MonadDOM m, ToJSString name) => IDBDatabase -> name -> Maybe IDBObjectStoreParameters -> m ()
- deleteObjectStore :: (MonadDOM m, ToJSString name) => IDBDatabase -> name -> m ()
- transaction :: (MonadDOM m, IsStringOrStrings storeNames) => IDBDatabase -> storeNames -> Maybe IDBTransactionMode -> m IDBTransaction
- transaction_ :: (MonadDOM m, IsStringOrStrings storeNames) => IDBDatabase -> storeNames -> Maybe IDBTransactionMode -> m ()
- close :: MonadDOM m => IDBDatabase -> m ()
- getName :: (MonadDOM m, FromJSString result) => IDBDatabase -> m result
- getVersion :: MonadDOM m => IDBDatabase -> m Word64
- getObjectStoreNames :: MonadDOM m => IDBDatabase -> m DOMStringList
- abort :: EventName IDBDatabase Event
- closeEvent :: EventName IDBDatabase CloseEvent
- error :: EventName IDBDatabase Event
- versionChange :: EventName IDBDatabase IDBVersionChangeEvent
- newtype IDBDatabase = IDBDatabase {}
- gTypeIDBDatabase :: JSM GType
Documentation
createObjectStore :: (MonadDOM m, ToJSString name) => IDBDatabase -> name -> Maybe IDBObjectStoreParameters -> m IDBObjectStore Source #
createObjectStore_ :: (MonadDOM m, ToJSString name) => IDBDatabase -> name -> Maybe IDBObjectStoreParameters -> m () Source #
deleteObjectStore :: (MonadDOM m, ToJSString name) => IDBDatabase -> name -> m () Source #
transaction :: (MonadDOM m, IsStringOrStrings storeNames) => IDBDatabase -> storeNames -> Maybe IDBTransactionMode -> m IDBTransaction Source #
transaction_ :: (MonadDOM m, IsStringOrStrings storeNames) => IDBDatabase -> storeNames -> Maybe IDBTransactionMode -> m () Source #
close :: MonadDOM m => IDBDatabase -> m () Source #
getName :: (MonadDOM m, FromJSString result) => IDBDatabase -> m result Source #
getVersion :: MonadDOM m => IDBDatabase -> m Word64 Source #
getObjectStoreNames :: MonadDOM m => IDBDatabase -> m DOMStringList Source #
newtype IDBDatabase Source #
Functions for this inteface are in JSDOM.IDBDatabase. Base interface functions are in: