Mercurial > hg > orthanc
diff OrthancServer/DatabaseWrapperBase.h @ 2697:e583478e0c6c jobs
New primitive in database SDK: "lookupIdentifierRange" to speed up range searches
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Jul 2018 15:59:17 +0200 |
parents | 878b59270859 |
children |
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapperBase.h Tue Jul 03 15:07:41 2018 +0200 +++ b/OrthancServer/DatabaseWrapperBase.h Tue Jul 03 15:59:17 2018 +0200 @@ -199,6 +199,12 @@ const DicomTag& tag, IdentifierConstraintType type, const std::string& value); + + void LookupIdentifierRange(std::list<int64_t>& result, + ResourceType level, + const DicomTag& tag, + const std::string& start, + const std::string& end); }; }