diff Framework/Common/ITransaction.h @ 237:35598014f140

refactoring to remove GlobalProperties.cpp
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 08 Apr 2021 19:09:04 +0200
parents ab96698c73a3
children 16aac0287485
line wrap: on
line diff
--- a/Framework/Common/ITransaction.h	Thu Apr 08 12:00:01 2021 +0200
+++ b/Framework/Common/ITransaction.h	Thu Apr 08 19:09:04 2021 +0200
@@ -45,5 +45,11 @@
 
     virtual void ExecuteWithoutResult(IPrecompiledStatement& statement,
                                       const Dictionary& parameters) = 0;
+
+    virtual bool DoesTableExist(const std::string& name) = 0;
+
+    virtual bool DoesTriggerExist(const std::string& name) = 0;  // Only for MySQL
+
+    virtual void ExecuteMultiLines(const std::string& query) = 0;
   };
 }