过滤子图中的嵌套属性(图)
Filtering nested properties in subgraph (the graph)
是否可以在嵌套属性时使用“where”过滤子图?
例如,如果我们有这样的查询,我们可以按应用程序名称过滤吗?
{
challenges(where: {something?}) {
challenger
outcome
application {
id
name
}
}
}
我试过这个,但是不行
{
challenges(where: {application: {name: "something"}) {
challenger
outcome
application {
id
name
}
}
}
不幸的是,图表 does not currently support nested queries. They currently have it on the roadmap, so my recommendation is to subscribe to their releases in their repository or check their #announcements channel in Discord。
是否可以在嵌套属性时使用“where”过滤子图?
例如,如果我们有这样的查询,我们可以按应用程序名称过滤吗?
{
challenges(where: {something?}) {
challenger
outcome
application {
id
name
}
}
}
我试过这个,但是不行
{
challenges(where: {application: {name: "something"}) {
challenger
outcome
application {
id
name
}
}
}
不幸的是,图表 does not currently support nested queries. They currently have it on the roadmap, so my recommendation is to subscribe to their releases in their repository or check their #announcements channel in Discord。