jeff
jeff5w ago

How do I compute a cursor for kv.list?

I basically I want to list entries after a known key. I'm trying to implement this function: function getEvents(afterEventId: string) { const entries = db.list({ prefix: ["events"] }, { cursor: ??? } .... }
1 Reply
patrickalima98
Craig's Deno Diary
Craig's Deno Diary is a blog covering the JavaScript and TypeScript runtime Deno.

Did you find this page helpful?