4 ms·
This is great! I tend to avoid abstractions for SQL, but Slick < 3.0 made type marshalling really annoying for pure SQL queries...so much so that I ended up usi
by saosebastiao 11y ago
This is great! I tend to avoid abstractions for SQL, but Slick < 3.0 made type marshalling really annoying for pure SQL queries...so much so that I ended up using the DSL and its boilerplate table definitions. I'm looking forward to using the tsql functionality.
On another note, I've never heard of Doobie, and that is as someone who has spent at least a few hours in the past few months researching better Scala-oriented database access libraries. Seems to have come out of nowhere.
- noelwelsh 11y agoDoobie is quite new, though it was available before Slick 3. If you're still in the market for a database access library I would definitely check it out. It's very simple but powerful. The evolution of database access is interesting, from raw SQL, to ORMs, to tuple oriented abstractions over SQL (Slick, Squeryl in Scala), and now Doobie and Slick return to allowing raw SQL (with machinery in place to make it safer).