I'm new to Elixir. I use the redix library to work with Redis. I can't manage to execute MGET command properly. This code works:
Like4uElixir.RedixPool.command(["MGET", "a", "b", "c"])
- it returns 3 values from Redis. But this code doesn't work:
keys = ["a", "b", "c"]
Like4uElixir.RedixPool.command(["MGET", keys])
But I have all the keys in array. How can I convert my array to a number of function arguments?