quickmongo icon indicating copy to clipboard operation
quickmongo copied to clipboard

suggestion

Open Sxlitude opened this issue 3 years ago • 0 comments
trafficstars

can you add a list method?

what is it?

it's a method which will return all existing keys starting from a prefix

example?

suppose I have these keys: user_1, user_2, user_3

db.list("user_").then((keys) => {
  console.log(keys); // 'user_1', 'user_2', 'user_3'
})

Sxlitude avatar Jul 07 '22 09:07 Sxlitude