Module

Dexie.Version

Package
purescript-dexie
Repository
mushishi78/purescript-dexie

#stores Source

stores :: forall m. MonadEffect m => Object (Maybe String) -> Version -> m Version

Specify the database schema (object stores and indexes) for a certain version.

Documentation: dexie.org/docs/Version/Version.stores()

#stores_ Source

stores_ :: forall m. MonadEffect m => Object (Maybe String) -> Version -> m Unit

Version of stores without a return value.

#upgrade Source

upgrade :: forall m. MonadEffect m => (Transaction -> Promise Unit) -> Version -> m Version

Specify an upgrade function for upgrading between previous version to this one.

Documentation: dexie.org/docs/Version/Version.upgrade()

#upgrade_ Source

upgrade_ :: forall m. MonadEffect m => (Transaction -> Promise Unit) -> Version -> m Unit

Version of upgrade without a return value.