Documentation

checkType

boolean public static
\Bitrix\Perfmon\Sql\Column::checkType(
 string $type
);

Static method compares column type with list of types:

- INT

- INTEGER

- TINYINT

- NUMERIC

- NUMBER

- FLOAT

- DOUBLE

- DECIMAL

- BIGINT

- SMALLINT

- MEDIUMINT

- VARCHAR

- VARCHAR2

- CHAR

- TIMESTAMP

- DATETIME

- DATE

- TIME

- TEXT

- LONGTEXT

- MEDIUMTEXT

- CLOB

- BLOB

- MEDIUMBLOB

- LONGBLOB

- VARBINARY

- IMAGE

- ENUM

Parameters

ParameterDescriptionVersion
$typeColumn type.

Example



© «Bitrix24», 2001-2024
Up