From 5dde4b91f9db4d3bdbd5d8d058948691f8ffc21b Mon Sep 17 00:00:00 2001 From: FlorianSf Date: Fri, 19 Jul 2024 15:57:23 +0200 Subject: [PATCH] Adding a setting for default queries with DuckDB before upload in #13 This allows the enrichment with other datasources like vouchers, products etc. --- AptecoPSFramework/settings/defaultsettings.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AptecoPSFramework/settings/defaultsettings.ps1 b/AptecoPSFramework/settings/defaultsettings.ps1 index 556a1e2..9f1f64a 100644 --- a/AptecoPSFramework/settings/defaultsettings.ps1 +++ b/AptecoPSFramework/settings/defaultsettings.ps1 @@ -42,6 +42,9 @@ # DuckDB "defaultDuckDBConnection" = "Data Source=:memory:;" # Default DuckDB connection -> In-Memory connection, could also be a file + "upload" = [PSCustomObject]@{ + "QueriesBeforeUploadWithDuckDB" = [Array]@() + } # LogJob database (sqlite file via DuckDB will directly made, not connected to defaultDuckDBConnection) "joblogDB" = "./logjob.sqlite"