frees-io / freestyle-cassandra

Freestyle Cassandra
http://frees.io/
Apache License 2.0
17 stars 4 forks source link

Fetch case classes instances #128

Open fedefernandez opened 6 years ago

fedefernandez commented 6 years ago

Fetch a list, an option or directly an object from a ResultSet using the ResultSetAPI.

def readA[F[_], T](rs: ResultSet): FreeS[F, T]
def readOptionA[F[_], T](rs: ResultSet): FreeS[F, Option[T]]
def readListA[F[_], T](rs: ResultSet): FreeS[F, List[T]]