Dibi\Result::detectTypes PHP Method

detectTypes() private method

Autodetect column types.
private detectTypes ( ) : void
return void
    private function detectTypes()
    {
        $cache = Helpers::getTypeCache();
        try {
            foreach ($this->getResultDriver()->getResultColumns() as $col) {
                $this->types[$col['name']] = isset($col['type']) ? $col['type'] : $cache->{$col['nativetype']};
            }
        } catch (NotSupportedException $e) {
        }
    }