| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Simplex.Messaging.Agent.Store.SQLite
Documentation
Constructors
| DBOpts | |
Fields
| |
getCurrentMigrations :: Maybe Query -> Connection -> IO [Migration] Source #
migrateDBSchema :: DBStore -> DBOpts -> Maybe Query -> [Migration] -> MigrationConfig -> IO (Either MigrationError ()) Source #
createDBStore :: DBOpts -> [Migration] -> MigrationConfig -> IO (Either MigrationError DBStore) Source #
closeDBStore :: DBStore -> IO () Source #
reopenDBStore :: DBStore -> IO () Source #
execSQL :: Connection -> Text -> IO [Text] Source #
connectSQLiteStore :: DBOpts -> IO DBStore Source #
openSQLiteStore :: DBStore -> ScrubbedBytes -> Bool -> IO () Source #