Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Database = Database {
- unDatabase :: JSVal
- gTypeDatabase :: JSM GType
- getVersion :: (MonadDOM m, FromJSString result) => Database -> m result
- 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
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 #
getVersion :: (MonadDOM m, FromJSString result) => Database -> m result 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 #