kiritocode1 / url_shortner

1 stars 0 forks source link

Deno Kv.getMany() returns a particular error not seen before , #3

Open kiritocode1 opened 1 week ago

kiritocode1 commented 1 week ago

image

the error persists even after deleting the DB and starting a new.

you can find more about this error in the getUserLinks() function in db.ts : 83

kiritocode1 commented 1 week ago

the code , in particular did not work because we got nulls in the array hence i did not do so , now even that shows the same error

  const userShortLinkKeys = res.map((v) => ["shortlinks", v.value]);
kiritocode1 commented 6 days ago

It is interesting to know GetMany() has a hard limit on no of queries we can make. I've been thinking to chunk the queries in sets of 10.