查询中的where应为对象。您没有正确编写where子句 您要查询“popular_streamers . so you are visiting the database to get some data based on a condition and you specify this condition with where”。
query MyQuery($where: popular_streamers_bool_exp!) {
// specificProperty one of the columns in the table where you want to write condition
// get me all popular_streamers where specificProperty is equal to variable $where
popular_streamers(where: {specificProperty:{_eq:$where}) {
first_name
last_name
}
}
1条答案
按热度按时间lkaoscv71#
查询中的
where
应为对象。您没有正确编写where
子句您要查询“popular_streamers
. so you are visiting the database to get some data based on a condition and you specify this condition with
where”。