comparison Framework/Plugins/DatabaseBackendAdapterV2.cpp @ 401:a8774581adfc db-protobuf

replaced "WithLabels" and "WithoutLabels", by "Labels" and "LabelsConstraint"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 07 Apr 2023 22:32:15 +0200
parents d14e6ff04a5c
children 91124cc8a8c7
comparison
equal deleted inserted replaced
400:897253c21208 401:a8774581adfc
1417 for (uint32_t i = 0; i < constraintsCount; i++) 1417 for (uint32_t i = 0; i < constraintsCount; i++)
1418 { 1418 {
1419 lookup.push_back(Orthanc::DatabaseConstraint(constraints[i])); 1419 lookup.push_back(Orthanc::DatabaseConstraint(constraints[i]));
1420 } 1420 }
1421 1421
1422 std::set<std::string> noLabels; 1422 std::set<std::string> noLabel;
1423 adapter->GetBackend().LookupResources(*output, accessor.GetManager(), lookup, queryLevel, 1423 adapter->GetBackend().LookupResources(*output, accessor.GetManager(), lookup, queryLevel, noLabel,
1424 noLabels, noLabels, limit, (requestSomeInstance != 0)); 1424 Orthanc::LabelsConstraint_All, limit, (requestSomeInstance != 0));
1425 1425
1426 return OrthancPluginErrorCode_Success; 1426 return OrthancPluginErrorCode_Success;
1427 } 1427 }
1428 ORTHANC_PLUGINS_DATABASE_CATCH; 1428 ORTHANC_PLUGINS_DATABASE_CATCH;
1429 } 1429 }