Anorm result to Iterator or ResultSet to Row


(Eugen Cepoi) #1

Is there a way to convert an anorm result to an Iterator (hacky solutions are fine)?
I’m fine with getting an Iterator[Row] or Iterator[MyTypeAfterDeser].

If not is there a hook to get from anorm the plain jdbc ResultSet and then go from ResultSet to Row so I can reuse existing parsing code and RowParser?

I’m looking to then implement automatic joins over these iterators on the client side.

PS: I’m already aware of Akka Streams.