Delete Statement
Delete data from table
Delete one row
$db::delete('posts')
->where('ID', '=', 3)
->execute();Delete all records in a table
$db::delete('posts')->execute();Get only raw SQL without DB execution.
$sql=
$db::delete('posts')
->where('ID', '=', 3)
->getSql();