Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.
gTypeDatabase :: JSM GType Source #