diff OrthancServer/Sources/Database/BaseDatabaseWrapper.h @ 5466:dceed5e3d6a9 pg-transactions

new DB plugin primitive: UpdateAndGetStatistics
author Alain Mazy <am@osimis.io>
date Fri, 15 Dec 2023 17:15:43 +0100
parents 176bc05f85f4
children c5a274851b23
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/BaseDatabaseWrapper.h	Wed Dec 13 15:44:33 2023 +0100
+++ b/OrthancServer/Sources/Database/BaseDatabaseWrapper.h	Fri Dec 15 17:15:43 2023 +0100
@@ -42,6 +42,17 @@
       {
         throw OrthancException(ErrorCode_NotImplemented);  // Not supported
       }
+
+      virtual void UpdateAndGetStatistics(int64_t& patientsCount,
+                                          int64_t& studiesCount,
+                                          int64_t& seriesCount,
+                                          int64_t& instancesCount,
+                                          int64_t& compressedSize,
+                                          int64_t& uncompressedSize) ORTHANC_OVERRIDE
+      {
+        throw OrthancException(ErrorCode_NotImplemented);  // Not supported
+      }
+
     };
 
   };