ORE Studio 0.0.4
Loading...
Searching...
No Matches
Public Attributes | List of all members
publication_result Struct Referencefinal

Result of publishing a single dataset to a target table. More...

#include <publication_result.hpp>

Collaboration diagram for publication_result:
Collaboration graph

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.
 

Detailed Description

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.

Member Data Documentation

◆ dataset_code

std::string dataset_code

Code of the dataset that was published.

Examples: "iso.currencies", "assets.country_flags".

◆ target_table

std::string target_table

Name of the production table that received the data.

Examples: "refdata_currencies_tbl", "assets_images_tbl".

◆ records_updated

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.

◆ records_skipped

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).

◆ records_deleted

std::uint64_t records_deleted = 0

Number of records deleted during publication.

Only non-zero when using replace_all mode.