Elementium Sign in
Contents

Data tables · Step

Clear a table

Delete every row of a table, like resetting a season.

Basic plan table.clear

In a flow

“When a button is clicked, clear a table.”

/newseason → Clear a table points.

What it does

Delete every row of a table, like resetting a season. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Data tables in the palette.

When to use it

Use it to keep rows of data, like a spreadsheet: delete every row of a table, like resetting a season.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Values it gives

Deleted Number

How many rows went. e.g. 120

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more

Often next

Related in Data tables

Wires and sockets · Data values · Plans