1234567module juptune.postgres.client;
rowScanner(
ReturnValues...
)(
ReturnValues values
);
Constructs a row scanner that'll read any returned rows into the provided set of values.
While you can store the returned scanner inside of a variable, it's ill-advised to do so as it contains direct pointers to the stack. It's recommended that you immediately chain into a query call, e.g. .rowScanner().queryRow().
The order of the values in valuesshould match the order and data types of the columns returned by your query.
Please see the documentation of RowScanner.queryfor a list of all types that can be passed into values.
A RowScannerthat can execute queries and scan the results into the provided value set (please treat it as an internal struct, rather than a public thing you can pass around willy-nilly).