Returns the result rows from the sql
query as an enumerator.
Returns the result rows from the sql
query as an enumerator.
This is equivalent to
source[Row](sql, RowParser.successful, ColumnAliaser.empty)
.
It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
the SQL query
the stream materializer
Returns the result rows from the sql
query as an enumerator.
Returns the result rows from the sql
query as an enumerator.
This is equivalent to source[Row](sql, RowParser.successful, as)
.
It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
the SQL query
the column aliaser
the stream materializer
Returns the rows parsed from the sql
query as a reactive source.
Returns the rows parsed from the sql
query as a reactive source.
It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
the type of the result elements
the SQL query
the result (row) parser
the stream materializer
Returns the rows parsed from the sql
query as a reactive source.
Returns the rows parsed from the sql
query as a reactive source.
It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
the type of the result elements
the SQL query
the result (row) parser
the column aliaser
the stream materializer
Anorm companion for the http://doc.akka.io/docs/akka/2.4.4/scala/stream/.