Alexis THIBAULT

Results 2 comments of Alexis THIBAULT

I've got the same error on Many to Many and I've solved it with defining relationship like this: ```python class HeroTeamLink(SQLModel, table=True): team_id: int | None = Field(default=None, foreign_key="team.id", primary_key=True)...

@khuongtm You should add the join instruction for add your sub model to your SQL query, I guess.