Thanks for sharing it.
This begins to look a lot like the nasty overloaded
PDOStatement::fetchAll. It would also be nice to have fetch_all for a
single column, and then we have it. I'd rather we avoid that if we
want to expand mysqli functionalities. How about adding
mysqli_fetch_all_object? No ne
On Sunday, 23 February 2025 at 02:57:07 GMT, Gareth Peters wrote:
Hi all
I've written code to expand the functionality of mysqli_fetch_all. It allows
you to fetch all results as objects rather than just arrays. It has the same
features as fetch_object, such as being able to specify the name of
On Sunday, 23 February 2025 at 03:09:38 GMT, Kamil Tekiela
wrote:
Hi,
Could you share the implementation?
Regards,
Kamil
Hi Kamil
Thank you for your interest. I appreciated your prior work on mysqli such as
the default error mode change.
https://github.com/ecvej/php-src/tree/mysqli-fetc
Hi,
Could you share the implementation?
Regards,
Kamil
Hi all
I've written code to expand the functionality of mysqli_fetch_all. It allows
you to fetch all results as objects rather than just arrays. It has the same
features as fetch_object, such as being able to specify the name of a class to
instantiate and being able to pass in an array of const