Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/SQLiteDatabaseWrapper.h @ 5809:023a99146dd0 attach-custom-data
merged find-refactoring -> attach-custom-data
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 24 Sep 2024 12:53:43 +0200 |
parents | 8279eaab0d1d f96abfe08946 |
children |
comparison
equal
deleted
inserted
replaced
5808:63c025cf6958 | 5809:023a99146dd0 |
---|---|
55 IDatabaseWrapper::Capabilities dbCapabilities_; | 55 IDatabaseWrapper::Capabilities dbCapabilities_; |
56 | 56 |
57 void GetChangesInternal(std::list<ServerIndexChange>& target, | 57 void GetChangesInternal(std::list<ServerIndexChange>& target, |
58 bool& done, | 58 bool& done, |
59 SQLite::Statement& s, | 59 SQLite::Statement& s, |
60 uint32_t maxResults); | 60 uint32_t maxResults, |
61 bool returnFirstResults); | |
61 | 62 |
62 void GetExportedResourcesInternal(std::list<ExportedResource>& target, | 63 void GetExportedResourcesInternal(std::list<ExportedResource>& target, |
63 bool& done, | 64 bool& done, |
64 SQLite::Statement& s, | 65 SQLite::Statement& s, |
65 uint32_t maxResults); | 66 uint32_t maxResults); |
95 } | 96 } |
96 | 97 |
97 virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE | 98 virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE |
98 { | 99 { |
99 throw OrthancException(ErrorCode_NotImplemented); | 100 throw OrthancException(ErrorCode_NotImplemented); |
101 } | |
102 | |
103 virtual bool HasIntegratedFind() const ORTHANC_OVERRIDE | |
104 { | |
105 return true; // => This uses specialized SQL commands | |
106 //return false; // => This uses Compatibility/GenericFind | |
100 } | 107 } |
101 | 108 |
102 /** | 109 /** |
103 * The "StartTransaction()" method is guaranteed to return a class | 110 * The "StartTransaction()" method is guaranteed to return a class |
104 * derived from "UnitTestsTransaction". The methods of | 111 * derived from "UnitTestsTransaction". The methods of |