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 |
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
- tbl table
-
table to operate on
Retrives the current row and return a record with the data in the columns.
Parameters
- tbl table
-
table to operate on
-
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
- tbl table
-
table to operate on
-
Return Type
(boolean) True if there is a new row; false otherwise
Returns an iterator over the members of tbl
.
The iterator will iterate over the rows of the table in order.
Parameters
- tbl table
-
table to operate on
-
Return Type
($anonType$2) an iterator over
tbl
Remove data from the table.
Parameters
- tbl table
-
table to operate on