Module
Yoga.SQLite.OmLayer
- Package
- purescript-yoga-sqlite-om
- Repository
- rowtype-yoga/purescript-yoga-sqlite-om
#SQLiteConfig Source
type SQLiteConfig = { path :: DatabasePath }SQLite configuration
#sqliteLayer Source
sqliteLayer :: forall r. OmLayer (sqliteConfig :: SQLiteConfig | r) () { sqlite :: DBConnection }Create a SQLite layer that provides DBConnection as a service Requires SQLiteConfig in context
#sqliteLayer' Source
sqliteLayer' :: forall r. SQLiteConfig -> OmLayer r () { sqlite :: DBConnection }Create a SQLite layer with inline config Useful when you don't need config from context
- Modules
- Yoga.
SQLite. OmLayer