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

Audit record for a dataset publication event. More...

#include <publication.hpp>

Collaboration diagram for publication:
Collaboration graph

Public Attributes

boost::uuids::uuid id
 Unique identifier for this publication record.
 
boost::uuids::uuid dataset_id
 ID of the dataset that was published.
 
std::string dataset_code
 Code of the dataset that was published.
 
publication_mode mode = publication_mode::upsert
 Publication mode used for this operation.
 
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.
 
std::string published_by
 Username of the person who initiated the publication.
 
std::chrono::system_clock::time_point published_at
 Timestamp when the publication occurred.
 

Detailed Description

Audit record for a dataset publication event.

Records when a dataset was published, by whom, and the outcome. Used for tracking publication history and auditing.

Member Data Documentation

◆ dataset_code

std::string dataset_code

Code of the dataset that was published.

Stored for convenience and historical reference even if the dataset is later deleted.