Deleteall from table code example
Example 1: delete table sql
DROP TABLE table_name;
Example 2: flexible search query delete table
$targetType=MyItemType
REMOVE $targetType[batchmode=true];itemtype(code)[unique=true]
;$targetType
DROP TABLE table_name;
$targetType=MyItemType
REMOVE $targetType[batchmode=true];itemtype(code)[unique=true]
;$targetType