Skip to content

Unable to use exec when querying data in FastAPI #1320

Closed Answered by maxmantz
maxmantz asked this question in Questions
Discussion options

You must be logged in to vote

The problem was that I imported the wrong select function.

Wrong
from sqlalchemy import select

Correct
from sqlmodel import select

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by maxmantz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
1 participant