DB getRow() and limit 1
| From: | Brice JOLY | Date: | Wed, 24 Nov 2004 20:50:17 +0000 |
| Subject: | DB getRow() and limit 1 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-15797@lists.php.net to get a copy of this message | ||
Hi,
I'm wondering whether getRow() includes an auto-appended "limit 1" or if it has to be manually added into the SQL query to avoid searching through the whole table once the expected record has been found.
Same question for getOne().
Thanks for your answer.
Brice