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

Structs PostgresClient.RowScanner

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module juptune.postgres.client;

struct RowScanner(
    ReturnValues...
)
{
    /++ ALIASES ++/
    
    ///
    alias Pointer(T) = T*;
    ///
    alias ReturnValuePointers = ;
    
    /++ FUNCTIONS ++/
    
    /// Executes a query, and for each row it will scan the data into previously provided value set, calling onRow after each row has been scanned. 
    Result query(QueryArgs...)(const char[] query, QueryArgs args, Result function() onRow);
    /// ditto. 
    Result queryGc(QueryArgs...)(const char[] query, QueryArgs args, Result function() onRow);
    ///
    Result queryImpl(bool Once, HandlerT, QueryArgs...)(const char[] query, QueryArgs args, HandlerT onRow);
    /// Functions mostly the same as query , with a few distinct changes. 
    Result queryRow(QueryArgs...)(const char[] query, QueryArgs args);
    
    /++ VARIABLES ++/
    
    ///
    ReturnValuePointers _pointers;
    ///
    PostgresProtocol* _protocol;
}

Documentation

Intentionally public for documentation - PLEASE do not use this directly, only use .rowScanner

Aliases

Name Description
Pointer
ReturnValuePointers

Functions

Name Description
query

Executes a query, and for each row it will scan the data into previously provided value set, calling onRowafter each row has been scanned.

queryGc

ditto.

queryImpl
queryRow

Functions mostly the same as query, with a few distinct changes.

Variables

Name Description
_pointers
_protocol