Mercurial > hg > orthanc
changeset 6123:0ff96222e461 attach-custom-data
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 May 2025 16:48:12 +0200 |
parents | 76935f315e7f (current diff) d6b3379795a5 (diff) |
children | 79e9fa2872cf |
files | OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp OrthancServer/Plugins/Include/orthanc/OrthancDatabasePlugin.proto |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp Tue May 20 16:42:24 2025 +0200 +++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV4.cpp Tue May 20 16:48:12 2025 +0200 @@ -1929,16 +1929,16 @@ virtual void ListKeysValues(std::list<std::string>& keys, std::list<std::string>& values, const std::string& storeId, - bool first, - const std::string& from, + bool fromFirst, + const std::string& fromKey, uint64_t limit) ORTHANC_OVERRIDE { if (database_.GetDatabaseCapabilities().HasKeyValueStoresSupport()) { DatabasePluginMessages::TransactionRequest request; request.mutable_list_keys_values()->set_store_id(storeId); - request.mutable_list_keys_values()->set_first(first); - request.mutable_list_keys_values()->set_from(from); + request.mutable_list_keys_values()->set_from_first(fromFirst); + request.mutable_list_keys_values()->set_from_key(fromKey); request.mutable_list_keys_values()->set_limit(limit); DatabasePluginMessages::TransactionResponse response;
--- a/OrthancServer/Plugins/Include/orthanc/OrthancDatabasePlugin.proto Tue May 20 16:42:24 2025 +0200 +++ b/OrthancServer/Plugins/Include/orthanc/OrthancDatabasePlugin.proto Tue May 20 16:48:12 2025 +0200 @@ -1028,8 +1028,8 @@ message ListKeysValues { message Request { string store_id = 1; - bool first = 2; - string from = 3; // Only meaningful if "first == false" + bool from_first = 2; + string from_key = 3; // Only meaningful if "from_first == false" uint64 limit = 4; }