artemeff / redis

Redis commands for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exredis.query() without client parameter. (using defaultclient)

hey-jude opened this issue · comments

Exredis.Api has no-client parameter methods using defaultclient, but Exredis.query() doesn't.

I did it, because query function must be raw, for low-level querying.
API contains functions that we can execute without client argument for simple cases, like unit tests.
But you can implement it, if you want.

Then, how about changing "defaultclient" to public function?

Current defaultclient is private, so I have to add same code in my application.

Yep, you can implement it, I will accept your PR.