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
This was mentioned in #90
async def get_card(self, card_id: uuid.UUID): async with async_session_maker() as db: return await card_crud.get_joined( db=db, id=card_id, nest_joins=True, joins_config=[ JoinConfig( model=Article, join_on=Article.card_id == Card.id, join_type="left", join_prefix="articles_", schema_to_select=Article_schema, ) ] )
Assuming a card has multiple articles, articles in joined response should be a list of articles.
card
articles
The text was updated successfully, but these errors were encountered:
igorbenav
Successfully merging a pull request may close this issue.
This was mentioned in #90
Assuming a
card
has multiplearticles
,articles
in joined response should be a list of articles.The text was updated successfully, but these errors were encountered: