jDbColumn
in package
Tags
Table of Contents
- $arrayDims : mixed
- $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
$arrayDims
public
mixed
$arrayDims
Tags
$autoIncrement
says if the field is auto incremented.
public
bool
$autoIncrement
= \false
Tags
$comment
public
mixed
$comment
= ''
Tags
$default
default value.
public
string
$default
Tags
$hasDefault
says if there is a default value.
public
bool
$hasDefault
= \false
Tags
$length
The length for a string.
public
int
$length
= 0
Tags
$maxLength
public
mixed
$maxLength
Tags
$maxValue
public
mixed
$maxValue
Tags
$minLength
public
mixed
$minLength
Tags
$minValue
public
mixed
$minValue
Tags
$name
field name.
public
string
$name
Tags
$notNull
says if the field can be null or not.
public
bool
$notNull
= \false
Tags
$precision
The precision for a number.
public
int
$precision
= 0
Tags
$scale
The scale for a number (value after the coma, in the precision).
public
int
$scale
= 0
Tags
$sequence
if there is a sequence.
public
string
$sequence
= \false
Tags
$type
native type of the field.
public
string
$type
Tags
$unsigned
public
mixed
$unsigned
= \false
Tags
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
Tags
Return values
mixed —hasOnlyDifferentName()
public
hasOnlyDifferentName(mixed $otherColumn) : mixed
Parameters
- $otherColumn : mixed
Tags
Return values
mixed —isAutoincrementedColumn()
public
isAutoincrementedColumn() : mixed
Tags
Return values
mixed —isBigAutoincrementedColumn()
public
isBigAutoincrementedColumn() : mixed
Tags
Return values
mixed —isEqualTo()
public
isEqualTo(mixed $column) : mixed
Parameters
- $column : mixed
Tags
Return values
mixed —_isEqualToExceptName()
protected
_isEqualToExceptName(mixed $column) : mixed
Parameters
- $column : mixed