JSColumnObject
Overview
A scripting object representing a data-source column that has now been created via JSTableObject.createNewColumn(...). It is a JSColumn that has a few extra methods - setters that can modify it; the changes will be applied only by a server.synchronizeWithDB() call.
Constants Summarized
Constant used when setting or getting the sequence type of columns.
Constant used when setting or getting the sequence type of columns.
Constant used when setting or getting the type of columns.
Constant used when setting or getting the flags of columns.
Constant used when setting or getting the type of columns.
Constant used when setting or getting the type of columns.
Constant used when setting or getting the flags of columns.
Constant for column information indicating unset values.
Constant used when setting or getting the type of columns.
Constant used when setting or getting the row identifier type of columns.
Constant used when setting or getting the row identifier type of columns.
Constant used when setting or getting the flags of columns.
Constant used when setting or getting the type of columns.
Constant used when setting or getting the flags of columns.
Constant used when setting or getting the sequence type of columns.
Properties Summarized
Get or set the allow-null flag of a new column.
Get or set the row identifier type of the column.
Get or set the sequence type of the column.
Methods Summarized
Get the data provider id for this column (which is the same as name if not explicitly defined otherwise).
Get the default format of the column.
Get the description property of the column.
Get the foreign type of the column.
Get the length of the column as reported by the JDBC driver.
Get the name of the column as used by Servoy.
Get the qualified name (including table name) of the column as known by the database.
Returns a quoted version of the column name, if necessary, as defined by the actual database used.
Get the raw title property of the column.
Get the name of the column as known by the database.
Get the raw JDBC type of the column, which allows to check database specific types, like sting/byte column type variations.
Get the scale of the column as reported by the JDBC driver.
Get the JSTable of this column.
Get the title property of the column.
Get the JDBC type of the column.
Get the name JDBC type of the column.
Check a flag of the column.
void
Set the database sequence name of the column, used for columns with sequence type JSColumn.
void
Set or clear a flag of a new column.
Constants Detailed
DATABASE_IDENTITY
Constant used when setting or getting the sequence type of columns.
Type Number
Sample
DATABASE_SEQUENCE
Constant used when setting or getting the sequence type of columns.
Type Number
Sample
DATETIME
Constant used when setting or getting the type of columns.
Type Number
Sample
EXCLUDED_COLUMN
Constant used when setting or getting the flags of columns. This flag identifies columns that are skipped in the sql.
Type Number
Sample
INTEGER
Constant used when setting or getting the type of columns.
Type Number
Sample
MEDIA
Constant used when setting or getting the type of columns.
Type Number
Sample
NATIVE_COLUMN
Constant used when setting or getting the flags of columns. This flag identifies columns that are marked as a native type column (for example uniqueidentifier).
Type Number
Sample
NONE
Constant for column information indicating unset values.
Type Number
Sample
NUMBER
Constant used when setting or getting the type of columns.
Type Number
Sample
PK_COLUMN
Constant used when setting or getting the row identifier type of columns. This value identifies columns that are defined as primary key in the database.
Type Number
Sample
ROWID_COLUMN
Constant used when setting or getting the row identifier type of columns. This value identifies columns that are defined as primary key by the developer (but not in the database).
Type Number
Sample
TENANT_COLUMN
Constant used when setting or getting the flags of columns. This flag identifies columns that are marked as a tenant column.
Type Number
Sample