MediumtextColumn
extends StringDataType
in package
Class MediumtextColumn.
Tags
Table of Contents
- $after : string|null
- $charset : string
- $check : Closure
- $collation : string
- $comment : string|null
- $database : Database
- $default : Closure|bool|float|int|string|null
- $first : bool
- $length : array<string|int, mixed>
- $null : bool
- $primaryKey : bool
- $type : string
- $uniqueKey : bool
- __call() : mixed
- __construct() : mixed
- Column constructor.
- after() : static
- charset() : static
- check() : static
- collate() : static
- comment() : static
- default() : static
- first() : static
- notNull() : static
- null() : static
- primaryKey() : static
- uniqueKey() : static
- renderAfter() : string|null
- renderCharset() : string|null
- renderCheck() : string|null
- renderCollate() : string|null
- renderComment() : string|null
- renderDefault() : string|null
- renderFirst() : string|null
- renderLength() : string|null
- renderNull() : string|null
- renderPrimaryKey() : string|null
- renderType() : string
- renderTypeAttributes() : string|null
- renderUniqueKey() : string|null
- sql() : string
Properties
$after
protected
string|null
$after
$charset
protected
string
$charset
$check
protected
Closure
$check
$collation
protected
string
$collation
$comment
protected
string|null
$comment
$database
protected
Database
$database
$default
protected
Closure|bool|float|int|string|null
$default
$first
protected
bool
$first
= false
$length
protected
array<string|int, mixed>
$length
$null
protected
bool
$null
= false
$primaryKey
protected
bool
$primaryKey
= false
$type
protected
string
$type
= 'mediumtext'
$uniqueKey
protected
bool
$uniqueKey
= false
Methods
__call()
public
__call(string $method, array<int, mixed> $arguments) : mixed
Parameters
- $method : string
- $arguments : array<int, mixed>
Return values
mixed —__construct()
Column constructor.
public
__construct(Database $database, bool|float|int|string|null ...$length) : mixed
Parameters
- $database : Database
- $length : bool|float|int|string|null
Return values
mixed —after()
public
after(string $column) : static
Parameters
- $column : string
Return values
static —charset()
public
charset(string $charset) : static
Parameters
- $charset : string
Return values
static —check()
public
check(Closure $expression) : static
Parameters
- $expression : Closure
Return values
static —collate()
public
collate(string $collation) : static
Parameters
- $collation : string
Return values
static —comment()
public
comment(string $comment) : static
Parameters
- $comment : string
Return values
static —default()
public
default(Closure|bool|float|int|string|null $default) : static
Parameters
- $default : Closure|bool|float|int|string|null
Return values
static —first()
public
first() : static
Return values
static —notNull()
public
notNull() : static
Return values
static —null()
public
null() : static
Return values
static —primaryKey()
public
primaryKey() : static
Return values
static —uniqueKey()
public
uniqueKey() : static
Return values
static —renderAfter()
protected
renderAfter() : string|null
Return values
string|null —renderCharset()
protected
renderCharset() : string|null
Return values
string|null —renderCheck()
protected
renderCheck() : string|null
Return values
string|null —renderCollate()
protected
renderCollate() : string|null
Return values
string|null —renderComment()
protected
renderComment() : string|null
Return values
string|null —renderDefault()
protected
renderDefault() : string|null
Return values
string|null —renderFirst()
protected
renderFirst() : string|null
Return values
string|null —renderLength()
protected
renderLength() : string|null
Return values
string|null —renderNull()
protected
renderNull() : string|null
Return values
string|null —renderPrimaryKey()
protected
renderPrimaryKey() : string|null
Return values
string|null —renderType()
protected
renderType() : string
Return values
string —renderTypeAttributes()
protected
renderTypeAttributes() : string|null
Return values
string|null —renderUniqueKey()
protected
renderUniqueKey() : string|null
Return values
string|null —sql()
protected
abstract sql() : string