Module

Dexie

Package
purescript-dexie
Repository
mushishi78/purescript-dexie

#new Source

new :: forall me. MonadEffect me => String -> me DB

Equivalent of calling new Dexie(dbName).

Documentation: dexie.org/docs/Dexie/Dexie

#delete Source

delete :: forall ma. MonadAff ma => String -> ma Unit

Deletes the database called dbName. If the database does not exist this method will still succeed.

Documentation: dexie.org/docs/Dexie/Dexie.delete()

#getDatabaseNames Source

getDatabaseNames :: forall ma. MonadAff ma => ma (Array String)

Returns an array of database names at current host.

Documentation: dexie.org/docs/Dexie/Dexie.getDatabaseNames()

#exists Source

exists :: forall ma. MonadAff ma => String -> ma Boolean

Checks whether a database with the given name exists or not.

Documentation: dexie.org/docs/Dexie/Dexie.exists()

#getDebug Source

getDebug :: forall me. MonadEffect me => me (Boolean)

Gets whether exception’s stacks will have long-stack support

Documentation: dexie.org/docs/Dexie/Dexie.debug

#setDebug Source

setDebug :: forall me. MonadEffect me => Boolean -> me Unit

Sets whether exception’s stacks will have long-stack support

Documentation: dexie.org/docs/Dexie/Dexie.debug