Converts one or several sentences QL written in XML grammar and returns the native code of the sentences.
1 sql.select2native
<sql.select2native secure='secure'>
<xml /> !
</sql.select2native>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Asecure | boolean | If you want that the system applies the security to the SELECT, INSERT, UPDATE, DELETE. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Exml | xml | XML to convert. |
Returns | |
---|---|
Type | Description |
string | Returns the native SQL sentences converted to the database agent where is being executed. |
Example
Converts a select and applies to him the security.
Copy
<xsql-script name='sql_native'> <body> <println> <sql.select2native secure='true'> <select> <columns> * </columns> <from table='cthird' /> <where> fecbaj IS NOT NULL </where> </select> </sql.select2native> </println> </body> </xsql-script>