Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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:
Instances
PToJSVal IDBDatabase Source # | |
Defined in JSDOM.Types pToJSVal :: IDBDatabase -> JSVal # | |
PFromJSVal IDBDatabase Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> IDBDatabase # | |
ToJSVal IDBDatabase Source # | |
Defined in JSDOM.Types toJSVal :: IDBDatabase -> JSM JSVal # toJSValListOf :: [IDBDatabase] -> JSM JSVal # | |
FromJSVal IDBDatabase Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe IDBDatabase) # fromJSValUnchecked :: JSVal -> JSM IDBDatabase # fromJSValListOf :: JSVal -> JSM (Maybe [IDBDatabase]) # fromJSValUncheckedListOf :: JSVal -> JSM [IDBDatabase] # | |
MakeObject IDBDatabase Source # | |
Defined in JSDOM.Types makeObject :: IDBDatabase -> JSM Object # | |
IsEventTarget IDBDatabase Source # | |
Defined in JSDOM.Types | |
IsIDBRequestResult IDBDatabase Source # | |
Defined in JSDOM.Types | |
IsGObject IDBDatabase Source # | |
Defined in JSDOM.Types typeGType :: IDBDatabase -> JSM GType |