Safe Haskell | None |
---|---|
Language | Haskell2010 |
initializer
initRedis :: Monad m => Connection -> Initializer m exts (RedisConn ': exts) Source #
construct persist extension initializer with no connection pool.
example:
initPersist (withSqliteConn "db.sqlite") migrateAll