Module: Column

Column metadata wrapper factory.

Methods


getCharacterSetName()

Retrieve the name of the charset being used.
Returns:
Type
string

getCollationName()

Retrieve the name of the collation being used.
Returns:
Type
string

getColumnLabel()

Retrieve the alias of the column.
Returns:
Type
string

getColumnName()

Retrieve the actual name of the column.
Returns:
Type
string

getFractionalDigits()

Retrieve the number of fractional digits allowed for the column (DECIMAL or similar types).
Returns:
Type
number

getLength()

Retrieve the allowed size of the column.
Returns:
Type
number

getSchemaName()

Retrieve the name of the schema where the table belongs to.
Returns:
Type
string

getTableLabel()

Retrieve the alias of the table where the column belongs to.
Returns:
Type
string

getTableName()

Retrieve the actual name of the table where the column belongs to.
Returns:
Type
string

getType()

Retrieve the X DevAPI type of the column.
Returns:
Type
ColumnType

isNumberSigned()

Check if the column value is signed or not (for INT or similar types).
Returns:
Type
boolean

isPadded()

Check if the column value is being padded.
Returns:
Type
string