mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-18 01:08:51 +00:00
DB schema refactor
This commit is contained in:
@ -35,8 +35,8 @@ void cmd_scan(const std::vector<std::string> &subArgs) {
|
||||
auto txn = env.txn_ro();
|
||||
|
||||
while (1) {
|
||||
bool complete = query.process(txn, pause ? pause : MAX_U64, metrics, [&](const auto &sub, uint64_t quadId){
|
||||
std::cout << getEventJson(txn, quadId) << "\n";
|
||||
bool complete = query.process(txn, pause ? pause : MAX_U64, metrics, [&](const auto &sub, uint64_t levId){
|
||||
std::cout << getEventJson(txn, levId) << "\n";
|
||||
});
|
||||
|
||||
if (complete) break;
|
||||
|
Reference in New Issue
Block a user