Jelix 1.6.37

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

$hasDefault

says if there is a default value

public bool $hasDefault = alse

$notNull

says if the field can be null or not

public bool $notNull = alse

$scale

The scale for a number (value after the coma, in the precision)

public int $scale = 0

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
Return values
mixed

Search results