我想根据主查询的结果过滤子查询,我的查询是
{
users(where: { id:"server1" }) {
id
name
lastMonthPaid <-----------I want to used this variable in sub query
offers{
books (where:{date: lastMonthPaid}){<----------this is the sub query
dealprice
}
}
}
}
通过我使用棱镜的方式 那么,Graphql是否提供执行这种查询的机制?