session.exec does not support delete statements #821
First Check
Commit to Help
Example Codefrom sqlmodel import (col, delete)
from common.models import LibrarySoundNFTLink
delete_stmt = delete(LibrarySoundNFTLink).where(
col(LibrarySoundNFTLink.library_user_address) == address
)
session.exec(delete_stmt)Descriptionsession.exec complains when executing a delete operation with the following error I hear I should use Operating SystemLinux Operating System DetailsNo response SQLModel Version0.0.14 Python Version3.12 Additional ContextNo response |
Answered by
dev-prgmer
Jul 10, 2025
Replies: 3 comments 4 replies
|
I get the same, this seems like an issue instead of a question :-p |
3 replies
|
Yeah what's going on here? |
0 replies
|
Still doesn't work |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Appears to have a issue 909 ticket open.