From 5729adac814f31260fc6b7c8a86f5fffd86acbdf Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Fri, 22 Feb 2013 01:18:56 +0100 Subject: [PATCH] Add todo item --- class.databaserecord.php | 1 + 1 file changed, 1 insertion(+) diff --git a/class.databaserecord.php b/class.databaserecord.php index 8f59fa6..9eb30d4 100644 --- a/class.databaserecord.php +++ b/class.databaserecord.php @@ -632,6 +632,7 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass { if($first_only === true) { + /* TODO: Try to run the query with LIMIT 1 if only the first result is desired. */ return new static($result); } elseif(count($result->data) == 1)