private function getCommonType($columnName, $field)
    {
        static $types = [
            SQLITE3_INTEGER => CommonTypes::TINT,
            SQLITE3_FLOAT => CommonTypes::TNUMBER,
            SQLITE3_TEXT => CommonTypes::TTEXT,
            // static::SQLITE3_BLOB => CommonTypes::TTEXT,
            // static::SQLITE3_NULL => CommonTypes::TTEXT,
        ];
        if (isset($this->overrideTypes[$columnName])) {
            return $this->overrideTypes[$columnName];
        }
        if (false !== $field && array_key_exists($field, $types)) {
            return $types[$field];
        }
        return CommonTypes::TTEXT;
    }
private function getCommonType($columnName, $field)
    {
        static $types = [
            SQLITE3_INTEGER => CommonTypes::TINT,
            SQLITE3_FLOAT => CommonTypes::TNUMBER,
            SQLITE3_TEXT => CommonTypes::TTEXT,
            // static::SQLITE3_BLOB => CommonTypes::TTEXT,
            // static::SQLITE3_NULL => CommonTypes::TTEXT,
        ];
        if (isset($this->overrideTypes[$columnName])) {
            return $this->overrideTypes[$columnName];
        }
        if (false !== $field && array_key_exists($field, $types)) {
            return $types[$field];
        }
        return CommonTypes::TTEXT;
    }
private function getCommonType ( $ columnName , $ field ) { static $ types = [ SQLITE3_INTEGER => CommonTypes :: TINT , SQLITE3_FLOAT => CommonTypes :: TNUMBER , SQLITE3_TEXT => CommonTypes :: TTEXT , // static::SQLITE3_BLOB => CommonTypes::TTEXT, // static::SQLITE3_NULL => CommonTypes::TTEXT, ] ; if ( isset ( $ this -> overrideTypes [ $ columnName ] ) ) { return $ this -> overrideTypes [ $ columnName ] ; } if ( false !== $ field && array_key_exists ( $ field , $ types ) ) { return $ types [ $ field ] ; } return CommonTypes :: TTEXT ; }
Private function to get the CommonType from the information of the field

@param string $columnName
@param int|false $field
@return string
Private function to get the CommonType from the information of the field