jDbColumn
in package
Table of Contents
- $autoIncrement : bool
- says if the field is auto incremented
- $comment : mixed
- $default : string
- default value
- $hasDefault : bool
- says if there is a default value
- $length : int
- The length for a string
- $maxLength : mixed
- $maxValue : mixed
- $minLength : mixed
- $minValue : mixed
- $name : string
- field name
- $notNull : bool
- says if the field can be null or not
- $precision : int
- The precision for a number
- $scale : int
- The scale for a number (value after the coma, in the precision)
- $sequence : string
- if there is a sequence
- $type : string
- native type of the field
- $unsigned : mixed
- __construct() : mixed
- hasOnlyDifferentName() : mixed
- isAutoincrementedColumn() : mixed
- isBigAutoincrementedColumn() : mixed
- isEqualTo() : mixed
- _isEqualToExceptName() : mixed
Properties
$autoIncrement
says if the field is auto incremented
public
bool
$autoIncrement
= alse
$comment
public
mixed
$comment
= ''
$default
default value
public
string
$default
=
ull
$hasDefault
says if there is a default value
public
bool
$hasDefault
= alse
$length
The length for a string
public
int
$length
= 0
$maxLength
public
mixed
$maxLength
=
ull
$maxValue
public
mixed
$maxValue
=
ull
$minLength
public
mixed
$minLength
=
ull
$minValue
public
mixed
$minValue
=
ull
$name
field name
public
string
$name
$notNull
says if the field can be null or not
public
bool
$notNull
= alse
$precision
The precision for a number
public
int
$precision
= 0
$scale
The scale for a number (value after the coma, in the precision)
public
int
$scale
= 0
$sequence
if there is a sequence
public
string
$sequence
= alse
$type
native type of the field
public
string
$type
$unsigned
public
mixed
$unsigned
= alse
Methods
__construct()
public
__construct(mixed $name, mixed $type, mixed $length[, mixed $hasDefault = false ][, mixed $default = null ][, mixed $notNull = false ]) : mixed
Parameters
- $name : mixed
- $type : mixed
- $length : mixed
- $hasDefault : mixed = false
- $default : mixed = null
- $notNull : mixed = false
Return values
mixed —hasOnlyDifferentName()
public
hasOnlyDifferentName(mixed $otherColumn) : mixed
Parameters
- $otherColumn : mixed
Return values
mixed —isAutoincrementedColumn()
public
isAutoincrementedColumn() : mixed
Return values
mixed —isBigAutoincrementedColumn()
public
isBigAutoincrementedColumn() : mixed
Return values
mixed —isEqualTo()
public
isEqualTo(mixed $column) : mixed
Parameters
- $column : mixed
Return values
mixed —_isEqualToExceptName()
protected
_isEqualToExceptName(mixed $column) : mixed
Parameters
- $column : mixed