diff Framework/Common/DatabaseManager.h @ 435:326f8304daa1 pg-transactions

new creating temporary tables inside functions
author Alain Mazy <am@osimis.io>
date Thu, 14 Dec 2023 09:25:45 +0100
parents 23c7af6f671a
children 6780dd8b0a66
line wrap: on
line diff
--- a/Framework/Common/DatabaseManager.h	Wed Dec 13 16:52:06 2023 +0100
+++ b/Framework/Common/DatabaseManager.h	Thu Dec 14 09:25:45 2023 +0100
@@ -221,6 +221,17 @@
       }
 
       void Execute(const Dictionary& parameters);
+
+      void ExecuteWithoutResult()
+      {
+        Dictionary parameters;
+        ExecuteWithoutResult(parameters);
+      }
+
+      void ExecuteWithoutResult(const Dictionary& parameters);
+
+    private:
+      void ExecuteInternal(const Dictionary& parameters, bool withResults);
     };