Skip to content
0:00 / 0:00

#doobie#catseffect#postgresql

Doobie Tutorial: Scala, Databases and pure Functional Programming

Rock the JVM

27K subscribers • 59 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Intermediate. Assumes working knowledge.

11K views4 years ago1 recommendation

Databases and dataProgramming languagesScalaPostgresFunctional programming

An introduction to interacting with PostgreSQL databases in a purely functional way using Scala and the Doobie library.

Part 2: youtube.com/watch?v=9xgOQh-Ppao Blog post: blog.rockthejvm.com/doobie/ Resources: The Cats Effect course: rockthejvm.com/p/cats-effect How to write your own string interpolator: youtube.com/watch?v=J6Vnn7aHYAk Value types in Scala: youtube.com/watch?v=xf3i4ZjrNs0 Doobie documentation: tpolecat.github.io/doobie/ This video is for the advanced Scala programmer. We learn how to interact with a database in a purely functional way with Scala and Doobie, one of the best libraries in the Scala ecosystem. This is the first part of a 2-part series, where we set up an initial project with PostgreSQL as a Docker container which we will use to test various features of Doobie within Scala. We learn how to - retrieve values from the database - generate keys - run joins - programmatically generate queries - add support for custom types in Doobie with type classes - and many more. Follow Rock the JVM on: LinkedIn: linkedin.com/company/rockthejvm Twitter: twitter.com/rockthejvm Blog: rockthejvm.com/blog ------------------------------------------------------------------------- Home: rockthejvm.com -------------------------------------------------------------------------

Why it's here

1 person recommends this

What people say. Recommended as a clear tutorial on using Doobie for functional database access in Scala.

u/danielciocirlanin r/scala • Recommends

Doobie tutorial: databases and pure FP in Scala