diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 17:45:22 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 17:45:22 +0200 |
commit | b135813110db7de8625bd2902e49afd971af9756 (patch) | |
tree | 2eb1329ea0458db8207e469bc3a3d496b72076e6 /common/storage.h | |
parent | 245dc57adedb0c8225aee0066c39f5ea38a39610 (diff) | |
download | sink-b135813110db7de8625bd2902e49afd971af9756.tar.gz sink-b135813110db7de8625bd2902e49afd971af9756.zip |
Skip internal keys by default while scanning.
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage.h b/common/storage.h index 2661439..a04969b 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -87,7 +87,7 @@ public: | |||
87 | * @return The number of values retrieved. | 87 | * @return The number of values retrieved. |
88 | */ | 88 | */ |
89 | int scan(const QByteArray &key, const std::function<bool(const QByteArray &key, const QByteArray &value)> &resultHandler, | 89 | int scan(const QByteArray &key, const std::function<bool(const QByteArray &key, const QByteArray &value)> &resultHandler, |
90 | const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>(), bool findSubstringKeys = false) const; | 90 | const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>(), bool findSubstringKeys = false, bool skipInternalKeys = true) const; |
91 | 91 | ||
92 | /** | 92 | /** |
93 | * Finds the last value in a series matched by prefix. | 93 | * Finds the last value in a series matched by prefix. |