Re: mysqli_fetch_all(MYSQLI_OBJECT)

From: Date: Sat, 12 Apr 2025 10:53:00 +0000
Subject: Re: mysqli_fetch_all(MYSQLI_OBJECT)
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
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 need for a new constant and we don't back
ourselves into a corner.


Thread (5 messages)

« previous php.internals (#127100) next »