Page History
Cache | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
createNewColumn(columnName, type, length)Creates a new column in this table. The name, type and length of the new column must be specified. For specifying the
type of the column, use the JSColumn constants. The column is not actually created in the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
The method returns a JSColumn instance that corresponds to the newly created column. If any error occurs and the column cannot be created, then the method
returns null. Parameters Returns Supported Clients Sample createNewColumn(columnName, type, length, allowNull)Creates a new column in this table. The name, type and length of the new column must be specified. For specifying the
type of the column, use the JSColumn constants. The column is not actually created in the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
The method returns a JSColumn instance that corresponds to the newly created column. If any error occurs and the column cannot be created, then the method
returns null. Parameters Returns Supported Clients Sample createNewColumn(columnName, type, length, allowNull, pkColumn)Creates a new column in this table. The name, type and length of the new column must be specified. For specifying the
type of the column, use the JSColumn constants. The column is not actually created in the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method.
The method returns a JSColumn instance that corresponds to the newly created column. If any error occurs and the column cannot be created, then the method
returns null. Parameters Returns Supported Clients Sample deleteColumn(columnName)Deletes the column with the specified name from this table. The column is not actually deleted from the database until this
table is synchronized with the database using the JSServer.synchronizeWithDB method. Parameters Supported Clients Sample getColumn(name)Returns a JSColumn for the named column (or column dataproviderID). Parameters Returns Supported Clients Sample getColumnNames()Returns an array containing the names of all table columns. Returns Supported Clients Sample getDataSource()Returns the table data source uri. Returns Supported Clients Sample getQuotedSQLName()Returns a quoted version of the table name, if necessary, as defined by the actual database used. Returns Supported Clients Sample getRowIdentifierColumnNames()Returns an array containing the names of the identifier (PK) column(s). Returns Supported Clients Sample getSQLName()Returns the table name. Returns Supported Clients Sample getServerName()Returns the Servoy server name. Returns Supported Clients Sample isMetadataTable()Returns whether table was flagged as metadata table. Returns Supported Clients Sample |
Overview
Content Tools
Activity