return $this->resultID->
numColumns();
} /**
* Generates an array of column names in the result set.
*/
public function getFieldNames(): array
{ $fieldNames =
[];
for ($i = 0,
$c =
$this->
getFieldCount();
$i <
$c;
$i++
) { $fieldNames[] =
$this->resultID->
columnName($i);
} return $fieldNames;
} /**
* Generates an array of objects representing field meta-data.
*/
public function getFieldData(): array
{