![]() |
fb-cpp 0.0.2
A modern C++ wrapper for the Firebird database API
|
Configuration options for creating a Batch. More...
#include <Batch.h>
Public Member Functions | |
| bool | getMultiError () const |
| Returns whether multiple errors are collected per execution. | |
| BatchOptions & | setMultiError (bool value) |
| Enables or disables collection of multiple errors per execution. | |
| bool | getRecordCounts () const |
| Returns whether per-message affected row counts are reported. | |
| BatchOptions & | setRecordCounts (bool value) |
| Enables or disables per-message affected row counts. | |
| std::optional< unsigned > | getBufferBytesSize () const |
| Returns the batch buffer size in bytes, or nullopt for the server default. | |
| BatchOptions & | setBufferBytesSize (unsigned value) |
| Sets the batch buffer size in bytes. | |
| BlobPolicy | getBlobPolicy () const |
| Returns the blob handling policy. | |
| BatchOptions & | setBlobPolicy (BlobPolicy value) |
| Sets the blob handling policy. | |
| unsigned | getDetailedErrors () const |
| Returns the maximum number of detailed error statuses to collect. | |
| BatchOptions & | setDetailedErrors (unsigned value) |
| Sets the maximum number of detailed error statuses to collect. | |
Configuration options for creating a Batch.
These options map to IXpbBuilder parameters for the IBatch interface. All setters return *this for fluent configuration.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |