ReferenceAsk
?

db.clear

Delete all rows in the table. Returns the count removed.
Table.clear() Mutation<number>

Empties the table, returns the number of rows removed, and leaves the schema in place. It is the whole-table form of db.removeAll. Use with caution: it deletes every row.

Empty a table
const removed = await Drafts.clear();