emptyTable
The emptyTable
method creates an empty in-memory table with a specified number of rows.
Syntax
emptyTable(size)
Parameters
Parameter | Type | Description |
---|---|---|
size | long | The number of empty rows allocated. |
Returns
An empty in-memory table.
Example
The following example creates an empty in-memory table with five rows.
result = emptyTable(5)
- result
The following example creates an empty in-memory table with five rows and then updates it to contain data.
result = emptyTable(5).update("X = 5")
- result