Google Cloud Spanner C++ Client
1.32.0
A C++ Client Library for Google Cloud Spanner
|
The result of executing a batch of DML statements. More...
#include <google/cloud/spanner/batch_dml_result.h>
Classes | |
struct | Stats |
The stats for each successfully executed SqlStatement . More... | |
Public Attributes | |
std::vector< Stats > | stats |
The stats for each successfully executed SqlStatement . More... | |
Status | status |
Either OK or the error Status of the SqlStatement that failed. More... | |
The result of executing a batch of DML statements.
Batch DML statements are executed in order using the Client::ExecuteBatchDml
method, which accepts a vector of SqlStatement
objects. The returned BatchDmlResult
will contain one entry in BatchDmlResult::stats
for each SqlStatement
that was executed successfully. If execution of any SqlStatement
fails, all subsequent statements will not be run and BatchDmlResult::status
will contain information about the failed statement.
Definition at line 39 of file batch_dml_result.h.
std::vector<Stats> google::cloud::spanner::v1::BatchDmlResult::stats |
The stats for each successfully executed SqlStatement
.
The order of the SqlStatements
matches the order of the Stats
in this vector.
Definition at line 48 of file batch_dml_result.h.
Status google::cloud::spanner::v1::BatchDmlResult::status |
Either OK or the error Status of the SqlStatement
that failed.
Definition at line 51 of file batch_dml_result.h.