| Methods |
public
|
__construct(
bool $nullable = true,
?int $maxLength = null,
?int $precision = null,
?int $scale = null,
?bool $unicode = null,
?int $srid = null,
)
|
#
|
public
|
isNullable(): bool
Whether a null value is permitted.
Whether a null value is permitted.
Defaults to true when absent. Applies to all types.
Implements
|
#
|
public
|
getMaxLength(): ?int
Maximum length in characters (String) or bytes (Binary).
Maximum length in characters (String) or bytes (Binary).
Null means the facet is absent (no explicit constraint).
The special value "max" is represented as PHP_INT_MAX by convention.
Implements
|
#
|
public
|
getPrecision(): ?int
Maximum number of significant decimal digits for Decimal,
or the precision of temporal types in fractional seconds.
Maximum number of significant decimal digits for Decimal,
or the precision of temporal types in fractional seconds.
Null means the facet is absent.
Implements
|
#
|
public
|
getScale(): ?int
Maximum number of digits to the right of the decimal point.
Maximum number of digits to the right of the decimal point.
Null means the facet is absent.
The special value "variable" is represented as -1 by convention.
Implements
|
#
|
public
|
isUnicode(): ?bool
Whether String values are Unicode (true) or ASCII (false).
Whether String values are Unicode (true) or ASCII (false).
Null means the facet is absent; the default is true.
Implements
|
#
|
public
|
getSrid(): ?int
Spatial Reference System Identifier for Geography/Geometry types.
Spatial Reference System Identifier for Geography/Geometry types.
Null means the facet is absent; defaults apply per type (4326
for Geography, 0 for Geometry).
Implements
|
#
|