Page History
...
Table Cell (td) |
---|
JSColumn |
...
Divcache | ||
---|---|---|
| DO NOT EDIT THE CONTENT OF THIS PAGE DIRECTLY (EXCEPT INSIDE THE DIV BELOW WITH ID=DESCRIPTION), UNLESS YOU KNOW WHAT YOU'RE DOING.
...
id | description |
---|
...
padding | 0px |
---|---|
width | 80px |
...
Table Row (tr) | |||||
---|---|---|---|---|---|
| |||||
|
| |||||||||||||
...
Table Cell (td) |
---|
String[] |
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String |
...
...
Table Cell (td) |
---|
String[] |
...
...
Table Cell (td) |
---|
String |
...
Table Cell (td) |
---|
String |
...
...
...
...
Table Cell (td) |
---|
Boolean |
...
...
...
padding | 0px |
---|---|
width | 100% |
...
...
Table Head (th) | ||
---|---|---|
| ||
Method Details |
...
id | getColumn-String |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
...
id | sig |
---|
...
Span | ||
---|---|---|
| ||
JSColumn |
Span | ||
---|---|---|
| ||
getColumn |
...
getColumn(name) |
...
...
Returns a JSColumn for the named column (or column dataproviderID). |
...
...
...
Parameters |
...
...
...
...
...
Returns |
...
...
...
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
...
id | ret |
---|
...
class | sIndent |
---|
...
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | getColumnNames |
---|
...
Supported Clients Sample getColumnNames()Returns an array containing the names of all table columns.
If the table is in mem, then the internal rowid column name is not returned. Returns |
...
Supported Clients |
...
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
...
id | ret |
---|
...
class | sIndent |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var jsTable = databaseManager.getTable('udm', 'campaigns')
var columnNames = jsTable.getColumnNames() |
...
class | lastDetailRow |
---|
...
id | getDataSource |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | getQuotedSQLName |
---|
...
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 |
...
id | sam |
---|
...
class | lastDetailRow |
---|
...
id | getRowIdentifierColumnNames |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
...
id | ret |
---|
...
class | sIndent |
---|
...
Supported Clients Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
//use with the raw SQL plugin:
//if the table name contains characters that are illegal in sql, the table name will be quoted
var jsTable = databaseManager.getTable('udm', 'campaigns')
var quotedTableName = jsTable.getQuotedSQLName()
plugins.rawSQL.executeSQL('udm', quotedTableName, 'select * from ' + quotedTableName + ' where is_active = ?', [1]) |
...
getRowIdentifierColumnNames()Returns an array containing the names of the identifier (PK) column(s).
Please note that if the table is in mem, then the internal rowid column name is also returned. Returns |
...
Supported Clients |
...
class | lastDetailRow |
---|
...
id | getServerName |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
id | isMetadataTable |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
...
class | lastDetailRow |
---|
...
Sample |
...
class | sIndent |
---|
...
Code Block | ||
---|---|---|
| ||
var jsTable = databaseManager.getTable('udm', 'campaigns')
var identifierColumnNames = jsTable.getRowIdentifierColumnNames() |
...
class | lastDetailRow |
---|
...
id | getSQLName |
---|
Table Row (tr) | ||
---|---|---|
| ||
|
Table Row (tr) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Table Row (tr) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
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