Db.xDangerDeleteAllRows
Db.xDangerDeleteAllRows($tableName) -> number
Description
Delete all rows from the given table. This is the equivalent of TRUNCATE TABLE
.
Returns the number of rows deleted.
$numRowsDeleted = Db.xDangerDeleteAllRows('tempCache') Db.selectRows('select * from tempCache') //= []