Skip to content

table.truncate

Truncate a table.

js
let removed = table.truncate(tableName);

Parameters

  • tableName - Name of the table.

Example

js
let removed = table.truncate("users");