Skip to content

Keep getting a field does not exist or is not a relational field #755

Closed Answered by RobertCraigie
rtnolan asked this question in Q&A
Discussion options

You must be logged in to vote

@rtnolan you're getting that error because id is not a relational field. Only relational fields can be used with include, if you want to select fields see this documentation: https://prisma-client-py.readthedocs.io/en/stable/reference/selecting-fields/

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by RobertCraigie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants