Get Rows
This block is an iterator. Learn more about iterators.
Get all rows in a database.
If you are unsure how to use Databases, we have a tutorial that goes over them here.
What does it do?
The Get Rows block allows you to retrieve all the rows in a database and iterate over them.
Inputs
Database Required
Provide the name of the database to use for this block.
The database must exist on the current bot.
Example: my_database
Outputs
Iteration Number iterator
The current iteration expressed as a number.
Example: 5
Row ID iterator
The Row ID of the current iteration’s row.
Example: abcdef12-3456-7890-abcd-ef1234567890
Created At (Unix) iterator
The Unix timestamp of when the current iteration’s row was created.
Example: 1731886315
Updated At (Unix) iterator
The Unix timestamp of the last time the current iteration’s row was updated.
Example: 1731886315