Get Random Row

Get a random row from 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 Random Row block allows you to retrieve a random row from a database. Example of Get Random Row Block


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

Row ID

The Row ID of the random row.

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