git.iko.soy/rowtype-yoga/purescript-yoga-sqlite-om
on main help sign in
28 lines 472 B history raw
1# yoga-sqlite-om
3Om-wrapped SQLite operations for PureScript.
5## Installation
7```bash
8spago install yoga-sqlite-om yoga-om-core yoga-om-layer
9```
11## Usage
13```purescript
14import Yoga.SQLite.OmLayer as SQLiteLayer
15import Yoga.Om (runOm)
17main = launchAff_ do
18 runOm (SQLiteLayer.live { path: ":memory:" }) do
19 -- Use SQLite operations with implicit connection from environment
20 pure unit
21```
23See [yoga-sqlite](../yoga-sqlite) for raw bindings.
25## License
27MIT