Skip to content

Conversation

nauanbek
Copy link
Contributor

@nauanbek nauanbek commented Feb 4, 2025

Remove manual item deletion - cascade delete handles this
session.exec(delete(Item).where(Item.owner_id == current_user.id))

@nauanbek nauanbek closed this Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant