IlyaSkriblovsky / txredisapi

non-blocking redis client for python twisted
Apache License 2.0
235 stars 91 forks source link

Redis Module support #124

Closed rohitchormale closed 6 years ago

rohitchormale commented 6 years ago

Thanks for this great lib. Does txredisapi support module feature added in redis > 4.0 ? I am specifically looking for redisSQL support.

IlyaSkriblovsky commented 6 years ago

txredisapi has explicit support only for Redis's native commands. But I beleive you can use rediSQL commands like this:

rows = yield connection.execute_command("REDISQL.EXEC", "DB", "SELECT * FROM foo;")

Please let us know whether it will work if you will try it.

rohitchormale commented 6 years ago

thanks for info. I will update you soon

rohitchormale commented 6 years ago

It is working like you mentioned.

IlyaSkriblovsky commented 6 years ago

Cool!