Let's say I have a series of objects stored in my database (mongodb) and they all share the same key. For example:
_key = "pluginname:users:customstats"
How can I get all the objects that share that same key?
I've tried something like this:
const data = await db.getObjects(["pluginname:users:customstats"], ["uid", "score"]); return data;But the query only gets the very last objecet saved in the database instead of all the ones I've created.