UnQLite Users Forum

Batch fetching many keys efficiently

append delete hsn

Hello, Is there support for batch fetching many keys at a time. Fetching each key independently for say thousands of keys would not be efficient.

If so, would love some guidance for how to go about doing it.


Reply RSS


append delete #1. devel

Hi Hasan,

Cursors are the only way to fetch keys and their related data sequentially. You can find more information on cursors here: https://unqlite.org/c_api/unqlite_kv_cursor.html

append delete #2. hsn

Thanks! Looking into that.


(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: chm_at_symisc, devel_at_symisc