Add todo item

develop
Sven Slootweg 11 years ago
parent d2b511d9b3
commit 5729adac81

@ -632,6 +632,7 @@ abstract class CPHPDatabaseRecordClass extends CPHPBaseClass
{ {
if($first_only === true) if($first_only === true)
{ {
/* TODO: Try to run the query with LIMIT 1 if only the first result is desired. */
return new static($result); return new static($result);
} }
elseif(count($result->data) == 1) elseif(count($result->data) == 1)

Loading…
Cancel
Save