summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-05 17:45:22 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-06-05 17:45:22 +0200
commitb135813110db7de8625bd2902e49afd971af9756 (patch)
tree2eb1329ea0458db8207e469bc3a3d496b72076e6 /common/storage.h
parent245dc57adedb0c8225aee0066c39f5ea38a39610 (diff)
downloadsink-b135813110db7de8625bd2902e49afd971af9756.tar.gz
sink-b135813110db7de8625bd2902e49afd971af9756.zip
Skip internal keys by default while scanning.
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h2
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.