Determine if two virtual tables are the same size.
1 vtable.equals
<vtable.equals>
<vtable1 /> ?
<vtable2 /> ?
</vtable.equals>
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Evtable1 | vtable | Table virtual1. | |||
Evtable2 | vtable | Table virtual2. |
Returns | |
---|---|
Type | Description |
Boolean | Returns true/false depending on whether they are the same size or not. |
Example
Copy
<xsql-script name='vtable_equals_sample1'> <body> <vtable name='v_table1'> <column name='codigo' type='string' /> <column name='nombre' type='string' /> </vtable> <vtable name='v_table2'> <column name='codigo' type='string' /> <column name='dirección' type='string' /> </vtable> <println> <vtable.equals> <v_table1 /> <v_table2 /> </vtable.equals> </println> </body> </xsql-script>