Property | Type | Description | |
---|---|---|---|
$FIELD_OPTIONS | array | All field options. | |
$isConstraint | boolean | Whether this field is a constraint or not. | |
$key | The key. | ||
$name | string | The name of the new column. | |
$options | The options of this field. | ||
$references | The table that is referenced. | ||
$type | The data type of thew new column. |
Method | Description | |
---|---|---|
__construct ( string $name = null, |
Constructor. | |
build ( |
||
parse ( |
public __construct ( string $name = null, |
||
$name | string | The name of the field. |
$options | The options of this field. | |
$type | The data type of this field or the key. | |
$isConstraint | boolean | Whether this field is a constraint or not. |
$references | References. |
public static array $FIELD_OPTIONS | ||
return | array |
public bool $isConstraint | ||
return | boolean |
public OptionsArray,SqlParser\Components $options | ||
return |
public Reference,SqlParser\Components $references | ||
return |