Batch Data
Controlled node
Overview
If your job has Is Batch and Use Batch Input Data enabled, then this node will output the current batch of data.
The data returned will be an array of database rows.
Where the number of rows returned is equal to the batch size defined in the job settings, except for the last batch which may be smaller if there is insufficient data remaining.
The starting index of the batch is determined by the current batch index, which is zero-indexed.
Inputs
| Input | Type | Description | Default |
|---|---|---|---|
| Run | Event | Get the current batch of data | - |
Outputs
| Output | Type | Description | Default |
|---|---|---|---|
| Done | Event | Emitted when the current batch of data is ready | - |
| Data | Array<Object> | The current batch of data rows from the selected database table | - |