Lookup by ID
Lookup a row in a database by its ID.
TIP
If you are unsure how to use Databases, we have a tutorial that goes over them here.
What does it do?
The Lookup by ID block allows you to retrieve a row from a database that has the specified row ID
Inputs
Database Required
Provide the name of the database to use for this block.
NOTE
The database must exist on the current bot.
Example: my_database
Row ID Required
Provide the ID of the row to be used for this lookup.
Example: abcdef12-3456-7890-abcd-ef1234567890
Outputs
Row Found
A boolean that is either true
or false
depending on if a row was found with the specified row id.
Example: true
Row ID
The Row ID of the retrieved row, blank if no row was found.
Example: abcdef12-3456-7890-abcd-ef1234567890
Created At (Unix)
The Unix timestamp of when the row was created.
Example: 1731886315
Updated At (Unix)
The Unix timestamp of the last time the row was updated.
Example: 1731886315