From 2db6c4f42a20c0c2a9b32545f4d6fab90be2c26d Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 23 Aug 2025 16:52:38 +0100 Subject: Add helpers and SQL for storing an entity --- src/ingestor.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ingestor.hpp') diff --git a/src/ingestor.hpp b/src/ingestor.hpp index 8450e4f..a7a57a6 100644 --- a/src/ingestor.hpp +++ b/src/ingestor.hpp @@ -23,6 +23,10 @@ namespace WebStat { void ingestLog(std::FILE *); + template void storeEntity(const T &) const; + void storeEntity(Entity) const; + void storeEntity(std::optional) const; + protected: size_t linesRead = 0; size_t linesParsed = 0; -- cgit v1.2.3