ColumnDefinition
extends DefinitionPart
in package
Class ColumnDefinition.
Tags
Table of Contents
- $column : Column
- $database : Database
- __call() : mixed
- __construct() : mixed
- bigint() : BigintColumn
- binary() : BinaryColumn
- bit() : BitColumn
- blob() : BlobColumn
- boolean() : BooleanColumn
- char() : CharColumn
- date() : DateColumn
- datetime() : DatetimeColumn
- decimal() : DecimalColumn
- enum() : EnumColumn
- float() : FloatColumn
- geometry() : GeometryColumn
- geometrycollection() : GeometryCollectionColumn
- int() : IntColumn
- json() : JsonColumn
- linestring() : LinestringColumn
- longblob() : LongblobColumn
- longtext() : LongtextColumn
- mediumblob() : MediumblobColumn
- mediumint() : MediumintColumn
- mediumtext() : MediumtextColumn
- multilinestring() : MultilinestringColumn
- multipoint() : MultipointColumn
- multipolygon() : MultipolygonColumn
- point() : PointColumn
- polygon() : PolygonColumn
- set() : SetColumn
- smallint() : SmallintColumn
- text() : TextColumn
- time() : TimeColumn
- timestamp() : TimestampColumn
- tinyblob() : TinyblobColumn
- tinyint() : TinyintColumn
- tinytext() : TinytextColumn
- varbinary() : VarbinaryColumn
- varchar() : VarcharColumn
- year() : YearColumn
- sql() : string
Properties
$column
protected
Column
$column
$database
protected
Database
$database
Methods
__call()
public
__call(string $method, array<int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<int, mixed>
Return values
mixed —__construct()
public
__construct(Database $database) : mixed
Parameters
- $database : Database
Return values
mixed —bigint()
public
bigint([int|null $maximum = null ]) : BigintColumn
Parameters
- $maximum : int|null = null
Return values
BigintColumn —binary()
public
binary() : BinaryColumn
Return values
BinaryColumn —bit()
public
bit() : BitColumn
Return values
BitColumn —blob()
public
blob() : BlobColumn
Return values
BlobColumn —boolean()
public
boolean([int|null $maximum = null ]) : BooleanColumn
Parameters
- $maximum : int|null = null
Return values
BooleanColumn —char()
public
char([int|null $maximum = null ]) : CharColumn
Parameters
- $maximum : int|null = null
Return values
CharColumn —date()
public
date() : DateColumn
Return values
DateColumn —datetime()
public
datetime() : DatetimeColumn
Return values
DatetimeColumn —decimal()
public
decimal([int|null $maximum = null ][, int|null $decimals = null ]) : DecimalColumn
Parameters
- $maximum : int|null = null
- $decimals : int|null = null
Return values
DecimalColumn —enum()
public
enum(string $value, string ...$values) : EnumColumn
Parameters
- $value : string
- $values : string
Return values
EnumColumn —float()
public
float([int|null $maximum = null ][, int|null $decimals = null ]) : FloatColumn
Parameters
- $maximum : int|null = null
- $decimals : int|null = null
Return values
FloatColumn —geometry()
public
geometry() : GeometryColumn
Return values
GeometryColumn —geometrycollection()
public
geometrycollection() : GeometryCollectionColumn
Return values
GeometryCollectionColumn —int()
public
int([int|null $maximum = null ]) : IntColumn
Parameters
- $maximum : int|null = null
Return values
IntColumn —json()
public
json() : JsonColumn
Return values
JsonColumn —linestring()
public
linestring() : LinestringColumn
Return values
LinestringColumn —longblob()
public
longblob() : LongblobColumn
Return values
LongblobColumn —longtext()
public
longtext() : LongtextColumn
Return values
LongtextColumn —mediumblob()
public
mediumblob() : MediumblobColumn
Return values
MediumblobColumn —mediumint()
public
mediumint([int|null $maximum = null ]) : MediumintColumn
Parameters
- $maximum : int|null = null
Return values
MediumintColumn —mediumtext()
public
mediumtext() : MediumtextColumn
Return values
MediumtextColumn —multilinestring()
public
multilinestring() : MultilinestringColumn
Return values
MultilinestringColumn —multipoint()
public
multipoint() : MultipointColumn
Return values
MultipointColumn —multipolygon()
public
multipolygon() : MultipolygonColumn
Return values
MultipolygonColumn —point()
public
point() : PointColumn
Return values
PointColumn —polygon()
public
polygon() : PolygonColumn
Return values
PolygonColumn —set()
public
set(string $value, string ...$values) : SetColumn
Parameters
- $value : string
- $values : string
Return values
SetColumn —smallint()
public
smallint([int|null $maximum = null ]) : SmallintColumn
Parameters
- $maximum : int|null = null
Return values
SmallintColumn —text()
public
text([int|null $maximum = null ]) : TextColumn
Parameters
- $maximum : int|null = null
Return values
TextColumn —time()
public
time() : TimeColumn
Return values
TimeColumn —timestamp()
public
timestamp() : TimestampColumn
Return values
TimestampColumn —tinyblob()
public
tinyblob() : TinyblobColumn
Return values
TinyblobColumn —tinyint()
public
tinyint([int|null $maximum = null ]) : TinyintColumn
Parameters
- $maximum : int|null = null
Return values
TinyintColumn —tinytext()
public
tinytext() : TinytextColumn
Return values
TinytextColumn —varbinary()
public
varbinary() : VarbinaryColumn
Return values
VarbinaryColumn —varchar()
public
varchar([int|null $maximum = null ]) : VarcharColumn
Parameters
- $maximum : int|null = null
Return values
VarcharColumn —year()
public
year() : YearColumn
Return values
YearColumn —sql()
protected
sql() : string