Graphql 是否可以根据主查询筛选子查询?(图ql)

Graphql 是否可以根据主查询筛选子查询?(图ql),graphql,prisma,Graphql,Prisma,我想根据主查询的结果筛选子查询,我的查询是 { 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

我想根据主查询的结果筛选子查询,我的查询是

{
  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
      }
    }
  }
}
{
用户(其中:{id:“server1”}){
身份证件
名称

Lastmonth表示,使用Prisma无法实现此目标。使用Prisma无法实现此目标。