leocavalcante/siler

Using Coroutines and swoole Hooks for MySQL PDO queries

Opened this issue · 0 comments

I'm pretty new to Siler, Swoole and corroutines, and I can't see a way to do what is described in this article[1], to use PDO with Swoole Hooks. I'm migrating an App to Siler with Swoole as server and want to minimize changes in the code to speed up the process. This is why I don't care about GraphSQL by now. Can you explain how I can achieve that or provide some working example? And thank you for your brilliant project! Brings simplicity to what's simple!

[1] - https://www.swoole.co.uk/docs/modules/swoole-coroutine-mysql