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

Hydrate Paginator results a array

When my results are used read only I hydrate the results (Resultset::HYDRATE_ARRAYS) to achieve a better performance. Is it possible to do this with the paginator results also?



98.9k

Actually, using Resultset::HYDRATE_ARRAYS or other type of hydration does not provide better performance than others.



10.1k

Oh Cool, but could you explain that a bit? I assumed that creating objects for the complete resultset would take some effort.