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