Add Result::getColumnCount()

This commit is contained in:
Aaron Piotrowski 2021-10-30 23:46:29 -05:00
parent 204b8d9f45
commit 55bfd0f439
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -19,4 +19,12 @@ interface Result extends \Traversable
* @return int|null
*/
public function getRowCount(): ?int;
/**
* Returns the number of columns returned by the query if applicable or null if the number of columns is
* unknown or not applicable to the query.
*
* @return int|null
*/
public function getColumnCount(): ?int;
}