BaseModel::purge
Usage
void BaseModel::purge()Description
Purge and delete all records within the database table assigned to the model class.Examples
Delete All Products
use App\Demo\Models\Product;
// Delete all
Product::purge();
See Also
[deleteMany()](deletemany