-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Description
I try to create api on sqlmodel with relationships (In my case, I have table Card and Article with link to Card (key: card_id))
one-to-many
And now I try to understand how it works (joined isn't my solving, I need record which contain Card model with list of Article models inside)

code of getting record
return await card_crud.get(
db=db,
id=card_id,
schema_to_select=Card_schema,
)Why "true" ....?
How did it appeared ....?
how can I implement this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
