1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-06 06:07:39 +02:00

Added new getTypes method (#327)

Added getTypes method, to get all columns and its types, this is faster then write foreach for getting all columns, and getColumns do not get column type (there is null)
This commit is contained in:
Radovan Kepák
2019-01-26 15:37:58 +01:00
committed by David Grudl
parent 2b5683d0f2
commit 19172c801e

View File

@@ -522,6 +522,15 @@ class Result implements IDataSource
}
/**
* Returns columns type.
*/
final public function getTypes(): array
{
return $this->types;
}
/**
* Sets date format.
*/