I am trying to create a graphQL query in which i want to check if the variable by the name $Month is equal to the string "March". But i cant find a way to do it.
query MyQuery($userid : ID , $Month : String) {
dbo_table(where:
{
userid: { _eq: $userid },
_or : [
{ MonthCreated: { _eq : $Folder }},
{ $Month : { _eq : "March" }
]
}
)
{ $Month : { _eq : "March" }
The above approach is giving me a syntax error.