Skip to content

Instantly share code, notes, and snippets.

@adamw adamw/t9.scala
Created Sep 19, 2019

What would you like to do?
val httpCall: IO[String] = IO("Zoe")
val queryFromHttpCall: IO[ConnectionIO[Int]] = { name =>
sql"SELECT COUNT(*) FROM persons WHERE name = $name".query[Int].unique
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.