Fork me on GitHub
#datalevin
<
2022-09-25
>
J08:09:29

Hi! What is the best way to get all the keys of a sub kv table? For the moment, I use range-filter function. Maybe there is an other way.

Huahai17:09:53

get-range with range [:all] , and value type :ignore , This will be much faster than range-filter, as we will be doing only range scan of the keys, values are not read, nor calling any predicate functions (which is slow).

J18:09:41

Thanks @U0A74MRCJ I missed this function.

Eugen21:09:44

just an FYI