12345678910111213141516171819202122232425262728293031module 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;
}
Intentionally public for documentation - PLEASE do not use this directly, only use .rowScanner
| Name | Description |
|---|---|
| Pointer | |
| ReturnValuePointers |
| Name | Description |
|---|---|
| query |
Executes a query, and for each row it will scan the data into previously provided value set, calling |
| queryGc |
ditto. |
| queryImpl | |
| queryRow |
Functions mostly the same as |
| Name | Description |
|---|---|
| _pointers | |
| _protocol |