supa okezie
04/12/2022, 6:09 PMpolls
table with some columns in my database. After some time, I added a number_of_votes_received
column that defaults to 0 and is updated by a trigger to the polls
table.
When I make a GraphQL query where this column is included, it works well. However, when I try to get the value of number_of_votes_received
in the GraphQL query, it returns an error "Unknown field 'number_of_votes_received' on type 'polls'."
I have checked over and over again and I am certain that there is a number_of_votes_received
column. Do you know anything that may have caused this behaviour?Needle
04/12/2022, 6:09 PM/title
command!
We have solved your problem?
Click the button below to archive it.Needle
04/12/2022, 6:12 PMsupa okezie
04/13/2022, 8:35 AMselect graphql.rebuild_schema()
charbs
04/15/2022, 11:22 AMNeedle
04/15/2022, 11:22 AM