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