$truncate
Permanently delete all records from the table. The $truncate method removes all entries in the table without applying any conditions and resets any auto-incrementing primary key values to their initial state. This operation is irreversible and is typically used for clearing a table during testing or maintenance.
Last updated