Mercurial > hg > orthanc-databases
comparison Framework/Plugins/DatabaseBackendAdapterV4.cpp @ 580:35d2df9572b1 find-refactoring tip
count-resources
author | Alain Mazy <am@orthanc.team> |
---|---|
date | Tue, 15 Oct 2024 15:52:39 +0200 |
parents | 77c8544bbd7d |
children |
comparison
equal
deleted
inserted
replaced
578:e99ca3508757 | 580:35d2df9572b1 |
---|---|
1325 case Orthanc::DatabasePluginMessages::OPERATION_FIND: | 1325 case Orthanc::DatabasePluginMessages::OPERATION_FIND: |
1326 { | 1326 { |
1327 backend.ExecuteFind(response, manager, request.find()); | 1327 backend.ExecuteFind(response, manager, request.find()); |
1328 break; | 1328 break; |
1329 } | 1329 } |
1330 | |
1331 case Orthanc::DatabasePluginMessages::OPERATION_COUNT_RESOURCES: | |
1332 { | |
1333 backend.ExecuteCount(response, manager, request.find()); | |
1334 break; | |
1335 } | |
1330 #endif | 1336 #endif |
1331 | 1337 |
1332 default: | 1338 default: |
1333 LOG(ERROR) << "Not implemented transaction operation from protobuf: " << request.operation(); | 1339 LOG(ERROR) << "Not implemented transaction operation from protobuf: " << request.operation(); |
1334 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); | 1340 throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange); |