Backend_DatabaseTableColumn

struct

This object represents a column at a relation table

Property Type Description
name String

Name of the column

type String

The column type i.e. integer or string

length Integer

Optional the max length of the column

precision Integer

Optional the precision of the column

scale Integer

Optional the scale of the column

unsigned Boolean

Indicates whether the column is unsigned, relevant for integer types

fixed Boolean

Indicates whether the column has a fixed length

notNull Boolean

Indicates whether the column allows null

autoIncrement Boolean

Indicates whether this column is an auto increment column

default Any

Optional defines the default value

comment String

Optional a comment for this column

part of the Apioo-Project