servoy sReturnTypes2100%height: 30px;2Supported ClientssWordListSmartClientsWordListWebClientsWordListNGClientservoy sSummary12%30%58%height: 30px;3Methods SummaryCreates in this server a new table with the specified name.Drops the table with the specified name from this server.Returns a JSTable instance corresponding to the table with the specified name from this server.Returns an array with the names of all tables in this server.Get valid state for the server.voidReloads the datamodel from the database, if changed externally or via rawSQL plugin.Synchronizes a JSTable instance with the database.functionservoy sDetail2100%height:30px2Methods DetailscreateNewTablename
createNewTable(tableName)
dessIndentCreates in this server a new table with the specified name.prs
Parameters
sIndenttableNameThe name of the table to create.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow dropTablename
dropTable(tableName)
dessIndentDrops the table with the specified name from this server.prs
Parameters
sIndenttableNameThe name of the table to drop.ret
Returns
sIndentclients
Supported Clients
sIndentSmartClient,WebClient,NGClientsam
Sample
sIdentjavascriptlastDetailRow getTablename
getTable(tableName)
dessIndentReturns a JSTable instance corresponding to the table with the specified name from this server.prs
Parameters
sIndenttableNameThe name of the table to retrieve.ret
dessIndentReloads the datamodel from the database, if changed externally or via rawSQL plugin. This call is not needed after a call to synchronizeWithDB().ret
dessIndentSynchronizes a JSTable instance with the database. If columns were added to or removed from the JSTable instance, all these changes will now be persisted to the database.prs
Parameters
sIndenttableA JSTableObject instance that should be synchronized.ret