Functions for Data Access
Learn how to implement functions to manipulate data and carry out main service.
We'll cover the following...
We'll cover the following...
Loading a product
The loadProduct function simply returns all rows for a single product from the database, exactly like its Slick counterpart. The parameter will be correctly interpolated by Doobie ...