ããã«ã¡ã¯ï¼BC ãã¼ã ã§ã¨ã³ã¸ãã¢ããã¦ãã id:d-kimuson ã§ãã ä»åã¯å¤é¨ãªã¬ã¼ã·ã§ã³ã«é¢ãã¦åå®å ¨æ§ã®ä¹ãã TypeORM ã® Data Mapper ãã¿ã¼ã³ãç¬èªã®ã¦ã¼ãã£ãªãã£åã使ã£ã¦ã¡ãã£ã¨ãã·ã«ããæ¹æ³ãç´¹ä»ãã¾ãã åæ: TypeORM ã®å¤é¨ãªã¬ã¼ã·ã§ã³ã«ã¤ã㦠TypeORM ã§ã¯ ManyToMany çã®ãã³ã¬ã¼ã¿ã使ã£ã¦ã¹ãã¼ãã« Foreign Key ãæ¸ããã¨ãã§ãã¾ãã // å ¬å¼ããã¥ã¡ã³ãã®ãµã³ãã«ã§ã @Entity() export class Category { @PrimaryGeneratedColumn() id: number @Column() name: string @ManyToMany((type) => Question, (question) => question.categories) quest
{{#tags}}- {{label}}
{{/tags}}