diff --git a/src/ORM/Connect/Query.php b/src/ORM/Connect/Query.php index 1d7497ffa..6ad5e6353 100644 --- a/src/ORM/Connect/Query.php +++ b/src/ORM/Connect/Query.php @@ -95,6 +95,15 @@ abstract class Query implements \IteratorAggregate return $this->getIterator()->current(); } + /** + * @deprecated Use record() instead + * @return array + */ + public function first() + { + return $this->record(); + } + /** * Returns the first column of the first record. *