Documentation

Column
in package

Table of Contents

$autoIncrement  : bool
$default  : mixed
$fixSize  : bool
$foreignKey  : array<string|int, mixed>|null
$notNull  : bool
$onDelete  : string|null
$onUpdate  : string|null
$primaryKey  : bool
$size  : int|array<string|int, mixed>
$type  : string
__construct()  : mixed

Properties

$autoIncrement

public bool $autoIncrement = false

$default

public mixed $default = null

$fixSize

public bool $fixSize = false

$foreignKey

public array<string|int, mixed>|null $foreignKey = null

$notNull

public bool $notNull = false

$onDelete

public string|null $onDelete = null

$onUpdate

public string|null $onUpdate = null

$primaryKey

public bool $primaryKey = false

$size

public int|array<string|int, mixed> $size = 0

Methods

__construct()

public __construct(string $type, int|array<string|int, mixed> $size[, bool $fixSize = false ][, bool $notNull = false ][, bool $autoIncrement = false ][, bool $primaryKey = false ][, mixed $default = null ][, array<string|int, mixed>|null $foreignKey = null ][, string|null $onDelete = null ][, string|null $onUpdate = null ]) : mixed
Parameters
$type : string
$size : int|array<string|int, mixed>
$fixSize : bool = false
$notNull : bool = false
$autoIncrement : bool = false
$primaryKey : bool = false
$default : mixed = null
$foreignKey : array<string|int, mixed>|null = null
$onDelete : string|null = null
$onUpdate : string|null = null
Return values
mixed

Search results