Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions PostgresClient.rowScanner

1
2
3
4
5
6
7
module juptune.postgres.client;

 rowScanner(
    ReturnValues...
)(
    ReturnValues values
);

Documentation

Constructs a row scanner that'll read any returned rows into the provided set of values.

Notes

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.

Params

Returns

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).