Like getNext
but loops until the end of the resultset, gathering results in a MonadPlus
.
Consumes the remainder of the resultset, reading each row as a value of type A
and
accumulating them in a standard library collection via CanBuildFrom
.
Consumes the remainder of the resultset, reading each row as a value of type A
and
accumulating them in a standard library collection via CanBuildFrom
.
Consumes the remainder of the resultset, reading each row as a value of type A
, mapping to
B
, and accumulating them in a standard library collection via CanBuildFrom
.
Consumes the remainder of the resultset, reading each row as a value of type A
, mapping to
B
, and accumulating them in a standard library collection via CanBuildFrom
. This unusual
constructor is a workaround for the CanBuildFrom not having a sensible contravariant functor
instance.
Non-strict unit for capturing effects.
Read a value of type A
starting at column 1.
Read a value of type A
starting at column n
.
Similar to next >> get
but lifted into Option
; returns None
when no more rows are
available.
Similar to getNext
but reads chunkSize
rows at a time (the final chunk in a resultset may
be smaller).
Similar to getNext
but reads chunkSize
rows at a time (the final chunk in a resultset may
be smaller). A non-positive chunkSize
yields an empty Seq
and consumes no rows. This method
delegates to getNextChunkV
and widens to Seq
for easier interoperability with streaming
libraries that like Seq
better.
Similar to getNext
but reads chunkSize
rows at a time (the final chunk in a resultset may
be smaller).
Similar to getNext
but reads chunkSize
rows at a time (the final chunk in a resultset may
be smaller). A non-positive chunkSize
yields an empty Vector
and consumes no rows.
Equivalent to getNext
, but verifies that there is at most one row remaining.
Equivalent to getNext
, but verifies that there is at most one row remaining.
`UnexpectedContinuation`
if there is more than one row remaining
Equivalent to getNext
, but verifies that there is exactly one row remaining.
Equivalent to getNext
, but verifies that there is exactly one row remaining.
`UnexpectedCursorPosition`
if there is not exactly one row remaining
Consumes the remainder of the resultset, reading each row as a value of type A
and
accumulating them in a List
.
Consumes the remainder of the resultset, but verifies that there is at least one row remaining.
Consumes the remainder of the resultset, but verifies that there is at least one row remaining.
`UnexpectedEnd`
if there is not at least one row remaining
Stream that reads from the ResultSet
and returns a stream of A
s.
Stream that reads from the ResultSet
and returns a stream of A
s. This is the preferred
mechanism for dealing with query results.
Updates a value of type A
starting at column 1.
Updates a value of type A
starting at column n
.
Consumes the remainder of the resultset, reading each row as a value of type A
and
accumulating them in a Vector
.
Module of high-level constructors for
ResultSetIO
actions.