You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** * Returns the values of all specified keys. For every key that does not hold a string value or does not * exist, the special value nil is returned. Because of this, the operation never fails. * * @param key The key. * @param keys The other key. * @returns List of values at the specified keys. */publicmget(key: string, ...keys: string[]){returnthis.command<Array<string|number|null>>("MGET",key, ...keys);}
But shouldn't it be only one? this just seems weird and is very bad to use this method, having to do something like this:
The
mget
method has two parameters:But shouldn't it be only one? this just seems weird and is very bad to use this method, having to do something like this:
Suggested behaviour
I would suggest to remove or concat the first key parameter, so we could use it like this:
The text was updated successfully, but these errors were encountered: