Starofall

Results 1 comments of Starofall

You could use some scala magic and use this: ``` val findById: UUID => Future[Option[Entity]] = { val query = Compiled((id: Rep[UUID]) => tableQuery.filter(_.id === id)) id: UUID => db.run(query(id).result.headOption)...