📅  最后修改于: 2022-03-11 14:48:14.306000             🧑  作者: Mango
// Remove projects with id 1, 2, 3
await user.related('projects').detach([1, 2, 3])
// Remove all projects
await user.related('projects').detach()