We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We found this, we need to try this ... fastapi/sqlmodel#127
The text was updated successfully, but these errors were encountered:
Someone has written up a docs page that hasn't been approved yet. fastapi/sqlmodel@5b4c9e4
preview of the page https://6311ba9503310f5f48cdd4f0--sqlmodel.netlify.app/advanced/self-referential/
Sorry, something went wrong.
Great find, so something like this right?
boss_id: Optional[int] = Field( foreign_key="villain.id", default=None, nullable=True ) boss: Optional["Villain"] = Relationship( back_populates="minions", sa_relationship_kwargs=dict(remote_side="Villain.id") ) minions: List["Villain"] = Relationship(back_populates="boss")
See pull #22 Self-reference Skill
bbelderbos
cmsato09
No branches or pull requests
We found this, we need to try this ...
fastapi/sqlmodel#127
The text was updated successfully, but these errors were encountered: