summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-13 14:00:57 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-13 14:00:57 +0100
commit81bf6c46f9b4b32f46f22f1104d1e135c206ac3f (patch)
treef365358d1270975503efc49e926be77644df16d4
parentFix column order in select source (diff)
downloadmygrate-81bf6c46f9b4b32f46f22f1104d1e135c206ac3f.tar.bz2
mygrate-81bf6c46f9b4b32f46f22f1104d1e135c206ac3f.tar.xz
mygrate-81bf6c46f9b4b32f46f22f1104d1e135c206ac3f.zip
Expose source id of UpdateDatabase
-rw-r--r--lib/output/pq/updateDatabase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/output/pq/updateDatabase.h b/lib/output/pq/updateDatabase.h
index e3e27ea..70d4fcf 100644
--- a/lib/output/pq/updateDatabase.h
+++ b/lib/output/pq/updateDatabase.h
@@ -32,8 +32,9 @@ namespace MyGrate::Output::Pq {
EventSourceBasePtr getSource();
+ const uint64_t source;
+
private:
- uint64_t source;
std::map<std::string, TableDefPtr, std::less<>> tables;
};
}