Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- changeVersion :: (MonadDOM m, ToJSString oldVersion, ToJSString newVersion) => Database -> oldVersion -> newVersion -> Maybe SQLTransactionCallback -> Maybe SQLTransactionErrorCallback -> Maybe VoidCallback -> m ()
- transaction :: MonadDOM m => Database -> SQLTransactionCallback -> Maybe SQLTransactionErrorCallback -> Maybe VoidCallback -> m ()
- readTransaction :: MonadDOM m => Database -> SQLTransactionCallback -> Maybe SQLTransactionErrorCallback -> Maybe VoidCallback -> m ()
- getVersion :: (MonadDOM m, FromJSString result) => Database -> m result
- newtype Database = Database {
- unDatabase :: JSVal
- gTypeDatabase :: JSM GType
Documentation
changeVersion :: (MonadDOM m, ToJSString oldVersion, ToJSString newVersion) => Database -> oldVersion -> newVersion -> Maybe SQLTransactionCallback -> Maybe SQLTransactionErrorCallback -> Maybe VoidCallback -> m () Source #
transaction :: MonadDOM m => Database -> SQLTransactionCallback -> Maybe SQLTransactionErrorCallback -> Maybe VoidCallback -> m () Source #
readTransaction :: MonadDOM m => Database -> SQLTransactionCallback -> Maybe SQLTransactionErrorCallback -> Maybe VoidCallback -> m () Source #
getVersion :: (MonadDOM m, FromJSString result) => Database -> m result Source #
Functions for this inteface are in JSDOM.Database.
Instances
PToJSVal Database Source # | |
Defined in JSDOM.Types | |
PFromJSVal Database Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Database # | |
ToJSVal Database Source # | |
FromJSVal Database Source # | |
MakeObject Database Source # | |
Defined in JSDOM.Types makeObject :: Database -> JSM Object # | |
IsGObject Database Source # | |
Defined in JSDOM.Types |
gTypeDatabase :: JSM GType Source #