Re: [PHP-DEV] mysqli_fetch_all(MYSQLI_OBJECT)

2025-04-12 Thread Kamil Tekiela
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

Re: [PHP-DEV] mysqli_fetch_all(MYSQLI_OBJECT)

2025-04-12 Thread Gareth Peters
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