Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Is phalcon redis support transaction - Multi/wach/exec.

I want to use Redis as my prime data source for some application, which basically required the transaction support.

I want to use Multi/Watch and exec for some redis set of commands.

Is phalcon redis wrapper support redis transaction? Or how can be achive this at freamwork level.



6.9k
Accepted
answer

Phalcon does not support these functionalities. As of

https://github.com/phalcon/cphalcon/blob/2.1.x/phalcon/cache/backend/redis.zep

Phalcon supports basic commands like get, set, delete, increment, decrement and flush. You have to use native PHP extension and build your own adapter, which will support advanced commands.