#include </data/code/userver/odbc/include/userver/storages/odbc/bulk.hpp>
Bulk DML failed after possibly executing a subset of the requested rows.
The result snapshot is observational: execution is never retried after SQLExecute starts. In direct autocommit mode, completed chunks or scalar fallback rows may already be committed. Use Transaction::ExecuteBulk and roll back on failure when atomicity is required.
Public Member Functions | |
| BulkExecutionError (std::string message, std::vector< DiagnosticRecord > diagnostics, BulkResult result, bool invalid_handle=false) | |
| const BulkResult & | GetResult () const noexcept |
| const std::vector< DiagnosticRecord > & | GetDiagnostics () const noexcept |
| Structured driver diagnostics, in the order returned by ODBC. | |
| bool | HasSqlStateClass (std::string_view sql_state_class) const noexcept |
| Whether any diagnostic has the specified two-character SQLSTATE class. | |
| bool | IsInvalidHandle () const noexcept |
| Whether the failed ODBC call returned SQL_INVALID_HANDLE. | |
|
inlinenoexcept |