|
ORE Studio 0.0.4
|
Result of publishing a single dataset to a target table. More...
#include <publication_result.hpp>

Public Attributes | |
| boost::uuids::uuid | dataset_id |
| ID of the dataset that was published. | |
| std::string | dataset_code |
| Code of the dataset that was published. | |
| std::string | dataset_name |
| Human-readable name of the dataset. | |
| std::string | target_table |
| Name of the production table that received the data. | |
| std::uint64_t | records_inserted = 0 |
| Number of records inserted during publication. | |
| std::uint64_t | records_updated = 0 |
| Number of records updated during publication. | |
| std::uint64_t | records_skipped = 0 |
| Number of records skipped during publication. | |
| std::uint64_t | records_deleted = 0 |
| Number of records deleted during publication. | |
| bool | success = true |
| Whether the publication succeeded. | |
| std::string | error_message |
| Error message if publication failed. | |
Result of publishing a single dataset to a target table.
Contains the outcome of a publication operation, including counts of records inserted, skipped, and deleted.
| std::string dataset_code |
Code of the dataset that was published.
Examples: "iso.currencies", "assets.country_flags".
| std::string target_table |
Name of the production table that received the data.
Examples: "refdata_currencies_tbl", "assets_images_tbl".
| std::uint64_t records_updated = 0 |
Number of records updated during publication.
Records are updated when they already exist and upsert mode is used. The version is incremented automatically by triggers.
| std::uint64_t records_skipped = 0 |
Number of records skipped during publication.
Records are skipped when they already exist and the mode doesn't allow updates (insert_only mode).
| std::uint64_t records_deleted = 0 |
Number of records deleted during publication.
Only non-zero when using replace_all mode.