~/talk

Quill + Doobie = Better Together

Talkat Scale By The Bay 2019 · 2019-11-13..11-15· [scala, databases]
links:none on file
slides:none on file

Shows a concrete integration: Quill handles composable, type-driven SQL fragments and macro-expands them at compile time so you can see the SQL before it runs, while Doobie turns queries into ConnectionIO and fs2 streams and provides the transactor to run effects transactionally. The demo wires Quill -> Doobie -> fs2 -> http4s, composes large joins into reusable query pieces, and streams results from the DB. Caveats: runtime values must be lifted into quotes, type annotations break compile-time SQL, Scala 3 inlines are planned.

AI-written summary · about

  1. 0:00Introduction to integration
  2. 1:27Understanding Doobie
  3. 4:20Practicalities and limitations
  4. 6:55Database complexity
  5. 10:06Introducing Quill
  6. 12:34Combining Doobie and Quill
  7. 14:53Compile time optimization
  8. 17:41Caveats and runtime conditions
  9. 21:25Large-scale application example
  10. 23:43Conclusion and wrap-up
  11. 27:18Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.