We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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.



9.3k
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.