Answers for "adonis many to many"

2

adonis many to many

@manyToMany(() => Skill, {
  localKey: 'id',
  pivotForeignKey: 'user_id',
  relatedKey: 'id',
  pivotRelatedForeignKey: 'skill_id',
})
public skills: ManyToMany<typeof Skill>
Posted by: Guest on August-27-2021

Code answers related to "adonis many to many"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language