1 table.getSerialColumn
<table.getSerialColumn table='table'/>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Atable | string | Name of the table which you want to obtain the serial column. |
Returns | |
---|---|
Type | Description |
String | Returns the name of the serial column or null if the table does not exist or does not have a serial. |
Exceptions
Database required.
Missing specify the database.
Required attribute [...]
A required attribute has not been informed.
Example
Print the name of the sequence.
Copy
<xsql-script name='test_serial'> <body> <println> <table.getSerialColumn table='capuntes' /> </println> </body> </xsql-script>