Adonisjs Sync Method

await user
  .related('projects')
  .sync([1, 2], false)
GutoTrosla