A sample project to show examples of using doobie
along with quill
.
Every component demonstrates a particular idea or a usecase:
Simple select query, abstract repository algebra, generic effectful implementation, runnable app
Running queries in parallel and combining the results
Update queries
Fluent compile-time query builder using Quill and Doobie
Run the following query on mariadb
instance:
LOAD DATA INFILE '/usr/data/MOCK_DATA.csv'
INTO TABLE Products
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 ROWS;
- https://tpolecat.github.io/doobie/ - Doobie official website
- https://typelevel.org/cats/ - Cats official website
- https://typelevel.org/cats-effect/ - Cats Effect official website