comparison OrthancServer/Sources/Database/SQLiteDatabaseWrapper.h @ 5774:f96abfe08946 find-refactoring

implementation of specialized SQL commands in SQLiteDatabaseWrapper
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 12 Sep 2024 08:25:41 +0200
parents 093a8693ba16
children 023a99146dd0
comparison
equal deleted inserted replaced
5773:3b7dce0e43c6 5774:f96abfe08946
100 throw OrthancException(ErrorCode_NotImplemented); 100 throw OrthancException(ErrorCode_NotImplemented);
101 } 101 }
102 102
103 virtual bool HasIntegratedFind() const ORTHANC_OVERRIDE 103 virtual bool HasIntegratedFind() const ORTHANC_OVERRIDE
104 { 104 {
105 //return true; // => This uses optimized SQL commands 105 return true; // => This uses specialized SQL commands
106 return false; // => This uses Compatibility/GenericFind 106 //return false; // => This uses Compatibility/GenericFind
107 } 107 }
108 108
109 /** 109 /**
110 * The "StartTransaction()" method is guaranteed to return a class 110 * The "StartTransaction()" method is guaranteed to return a class
111 * derived from "UnitTestsTransaction". The methods of 111 * derived from "UnitTestsTransaction". The methods of