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.

How to multi_query with Phalcon like using mysqli_multi_query?

With mysqli, we can use mysqli_multi_query to executes one or multiple queries which are concatenated by a semicolon.

Could we do that with phalcon?


We don't have support mysqli but you can create one for you

Good luck


Thank you

edited Aug '19

A bit late: what you can do is integrate the multiple queries in a single store procedure that returns the OUT variable in a "SELECT". Then you just call it as usual from Phalcon.