Jelix 1.8.13

jDbFieldProperties
in package

Description of a field of a table.

Tags
subpackage

db

see
jDbTools::getFieldList

Table of Contents

$autoIncrement  : bool
says if the field is auto incremented.
$comment  : mixed
dao and form use this feature.
$default  : string
default value.
$hasDefault  : bool
says if there is a default value.
$length  : mixed
$maxLength  : mixed
$maxValue  : mixed
$minLength  : mixed
$minValue  : mixed
$name  : string
field name.
$notNull  : bool
says if the field can be null or not.
$primary  : bool
says if the field is the primary key.
$sequence  : string
if there is a sequence.
$type  : string
native type of the field.
$unifiedType  : string
unified type of the field.
$unsigned  : mixed

Properties

$autoIncrement

says if the field is auto incremented.

public bool $autoIncrement = \false
Tags

$comment

dao and form use this feature.

public mixed $comment
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 = \true
Tags

$primary

says if the field is the primary key.

public bool $primary = \false
Tags

$sequence

if there is a sequence.

public string $sequence = \false
Tags

$unifiedType

unified type of the field.

public string $unifiedType
Tags

Search results