DELETE `deadline`, `job` FROM `deadline` LEFT JOIN `job` ....
所以,我试试这样:
DB::table('deadline', 'job')
->leftJoin('job', 'deadline.id', '=', 'job.deadline_id')
->where('deadline.id', $id)
->delete();
解决方法:
看来我的方式是不可能的.所以,我这样做了.
$q = 'DELETE deadline, job FROM deadline LEFT JOIN job ...where deadline.id = ?';
$status = \DB::delete($q, array($id));