From e689f281a3033e4e2493233d9a3f0d3bdd861bb8 Mon Sep 17 00:00:00 2001 From: sowle Date: Sat, 18 Dec 2021 08:33:41 +0300 Subject: [PATCH] comment for clarification --- src/common/db_abstract_accessor.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/db_abstract_accessor.h b/src/common/db_abstract_accessor.h index 71be14f3..77a5dfdd 100644 --- a/src/common/db_abstract_accessor.h +++ b/src/common/db_abstract_accessor.h @@ -600,6 +600,8 @@ namespace tools bdb.get_backend()->enumerate(m_h, &local_enum_handler); } + // callback format: bool cb(uint64_t index, const key_t& key, const value_t& value) + // cb should return true to continue, false -- to stop enumeration template void enumerate_items(t_cb cb)const {