MENU

Fun & Interesting

Doobie Tutorial: Scala, Databases and pure Functional Programming

Rock the JVM 10,965 3 years ago
Video Not Working? Fix It Now

Part 2: https://www.youtube.com/watch?v=9xgOQh-Ppao Blog post: https://blog.rockthejvm.com/doobie/ Resources: The Cats Effect course: https://rockthejvm.com/p/cats-effect How to write your own string interpolator: https://www.youtube.com/watch?v=J6Vnn7aHYAk Value types in Scala: https://www.youtube.com/watch?v=xf3i4ZjrNs0 Doobie documentation: https://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: https://linkedin.com/company/rockthejvm Twitter: https://twitter.com/rockthejvm Blog: https://rockthejvm.com/blog ------------------------------------------------------------------------- Home: https://rockthejvm.com -------------------------------------------------------------------------

Comment