Jelix 1.8.13

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

$autoIncrement

says if the field is auto incremented.

public bool $autoIncrement = \false
Tags

$hasDefault

says if there is a default value.

public bool $hasDefault = \false
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

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

Search results