Update Row

Update a row 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 Update Row block allows you to update the column values of a specified row.

Example of Update Row Block


Inputs

Value 1-50

These will depend on the column setup of your database, each column will have a input.

Example: Example value!

Database Required

Provide the name of the database to use for this block.

The database must exist on the current bot.

Example: my_database

Row ID

ID of the row to update.

Example: abcdef12-3456-7890-abcd-ef1234567890

Keep Value if Blank

If a blank new value is provided and this toggle is enabled, the old value to be kept rather than the value being overwritten/removed.

Example: true

Outputs

This block does not have any outputs.