private static function describeColumnType($name, $type)
    {
        if ($type === null) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_NULL;
        } elseif (
            $type === Column::TYPE_BIGINTEGER ||
            $type === Column::TYPE_INTEGER ||
            $type === Column::TYPE_TIMESTAMP
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_INT;
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_NUMERIC][$name] = true;
        } elseif (
            $type === Column::TYPE_DECIMAL ||
            $type === Column::TYPE_FLOAT ||
            $type === Column::TYPE_DOUBLE
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_DECIMAL;
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_NUMERIC][$name] = true;
        } elseif (
            $type === Column::TYPE_JSON ||
            $type === Column::TYPE_TEXT ||
            $type === Column::TYPE_CHAR ||
            $type === Column::TYPE_VARCHAR ||
            $type === Column::TYPE_DATE ||
            $type === Column::TYPE_DATETIME
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_STR;
        } elseif (
            $type === Column::TYPE_BLOB ||
            $type === Column::TYPE_JSONB ||
            $type === Column::TYPE_MEDIUMBLOB ||
            $type === Column::TYPE_TINYBLOB ||
            $type === Column::TYPE_LONGBLOB
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_BLOB;
        } elseif ($type === Column::TYPE_BOOLEAN) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_BOOL;
        } else {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_SKIP;
        }
    }
private static function describeColumnType($name, $type)
    {
        if ($type === null) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_NULL;
        } elseif (
            $type === Column::TYPE_BIGINTEGER ||
            $type === Column::TYPE_INTEGER ||
            $type === Column::TYPE_TIMESTAMP
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_INT;
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_NUMERIC][$name] = true;
        } elseif (
            $type === Column::TYPE_DECIMAL ||
            $type === Column::TYPE_FLOAT ||
            $type === Column::TYPE_DOUBLE
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_DECIMAL;
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_NUMERIC][$name] = true;
        } elseif (
            $type === Column::TYPE_JSON ||
            $type === Column::TYPE_TEXT ||
            $type === Column::TYPE_CHAR ||
            $type === Column::TYPE_VARCHAR ||
            $type === Column::TYPE_DATE ||
            $type === Column::TYPE_DATETIME
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_STR;
        } elseif (
            $type === Column::TYPE_BLOB ||
            $type === Column::TYPE_JSONB ||
            $type === Column::TYPE_MEDIUMBLOB ||
            $type === Column::TYPE_TINYBLOB ||
            $type === Column::TYPE_LONGBLOB
        ) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_BLOB;
        } elseif ($type === Column::TYPE_BOOLEAN) {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_PARAM_BOOL;
        } else {
            static::$metaDatasClass[static::class][MetaData::MODELS_DATA_TYPES_BIND][$name] = Column::BIND_SKIP;
        }
    }
private static function describeColumnType ( $ name , $ type ) { if ( $ type === null ) { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_PARAM_NULL ; } elseif ( $ type === Column :: TYPE_BIGINTEGER || $ type === Column :: TYPE_INTEGER || $ type === Column :: TYPE_TIMESTAMP ) { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_PARAM_INT ; static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_NUMERIC ] [ $ name ] = true ; } elseif ( $ type === Column :: TYPE_DECIMAL || $ type === Column :: TYPE_FLOAT || $ type === Column :: TYPE_DOUBLE ) { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_PARAM_DECIMAL ; static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_NUMERIC ] [ $ name ] = true ; } elseif ( $ type === Column :: TYPE_JSON || $ type === Column :: TYPE_TEXT || $ type === Column :: TYPE_CHAR || $ type === Column :: TYPE_VARCHAR || $ type === Column :: TYPE_DATE || $ type === Column :: TYPE_DATETIME ) { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_PARAM_STR ; } elseif ( $ type === Column :: TYPE_BLOB || $ type === Column :: TYPE_JSONB || $ type === Column :: TYPE_MEDIUMBLOB || $ type === Column :: TYPE_TINYBLOB || $ type === Column :: TYPE_LONGBLOB ) { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_PARAM_BLOB ; } elseif ( $ type === Column :: TYPE_BOOLEAN ) { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_PARAM_BOOL ; } else { static :: $ metaDatasClass [ static :: class ] [ MetaData :: MODELS_DATA_TYPES_BIND ] [ $ name ] = Column :: BIND_SKIP ; } }
Define a column type

@param string $name
@param int    $type
Define a column type