Functions -
lang.table
add | Add record to the table. |
close | Releases the database connection. If the table data is fully iterated, it will be automatically closed. This explicit close is required only if it is not fully iterated. |
getNext | Retrives the current row and return a record with the data in the columns. |
hasNext | Checks for a new row in the given table. If a new row is found, moves the cursor to it. |
iterator | Returns an iterator over the members of |
length | Returns the number of members in |
remove | Remove data from the table. |
Add record to the table.
Releases the database connection. If the table data is fully iterated, it will be automatically closed. This explicit close is required only if it is not fully iterated.
Parameters
- dt table
Retrives the current row and return a record with the data in the columns.
Parameters
- dt table
-
Return Type
($anonType$6) The resulting row as a record
Checks for a new row in the given table. If a new row is found, moves the cursor to it.
Parameters
- dt table
-
Return Type
(boolean) True if there is a new row; false otherwise
Remove data from the table.