mirror of
https://github.com/danog/sql.git
synced 2024-11-26 20:15:08 +01:00
Add Result::getColumnCount()
This commit is contained in:
parent
204b8d9f45
commit
55bfd0f439
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user