In this example, if I do players.find('id') I get null returned. There would be a lot of cases, where I would not know what the value is, but I just want to get every value possible for that key.
players.find('id'); // [1,2,3,4];
If the API isn't required to support the above, then it must throw an error to the user saying it requires a value to be passed. I, personally think that I should be able to query without specifying a specific value.
If we have a go on this, I can definitely send a PR.
In this example, if I do
players.find('id')
I getnull
returned. There would be a lot of cases, where I would not know what the value is, but I just want to get every value possible for that key.If the API isn't required to support the above, then it must throw an error to the user saying it requires a value to be passed. I, personally think that I should be able to query without specifying a specific value.
If we have a go on this, I can definitely send a PR.