Property | Type | Description | |
---|---|---|---|
$DATA_TYPE_OPTIONS | array | All data type options. | |
$name | string | The name of the data type. | |
$options | The options of this data type. | ||
$parameters | array | Some data types have no parameters. Numeric types might have parameters for the maximum number of digits, precision, etc. String types might have parameters for the maximum length stored. ENUM and SET have parameters for possible values. For more information, check the MySQL manual. |
Method | Description | |
---|---|---|
__construct ( string $name = null, array $parameters = [], |
Constructor. | |
build ( |
||
parse ( |
public __construct ( string $name = null, array $parameters = [], |
||
$name | string | The name of this data type. |
$parameters | array | The parameters (size or possible values). |
$options | The options of this data type. |
public static array $DATA_TYPE_OPTIONS | ||
return | array |
public OptionsArray,SqlParser\Components $options | ||
return |
public array $parameters | ||
return | array |