diff OrthancServer/Sources/Database/FindRequest.h @ 5692:7c11a71927a9 find-refactoring

improved handling of limits
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jul 2024 20:20:50 +0200
parents fd4c5e064cbe
children f375e9983943
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/FindRequest.h	Tue Jul 09 18:06:21 2024 +0200
+++ b/OrthancServer/Sources/Database/FindRequest.h	Thu Jul 11 20:20:50 2024 +0200
@@ -314,6 +314,11 @@
       return metadataConstraints_.size();
     }
 
+    void ClearLimits()
+    {
+      hasLimits_ = false;
+    }
+
     void SetLimits(uint64_t since,
                    uint64_t count);