React native 如何在AppSync解析器中使用多个筛选器表达式

React native 如何在AppSync解析器中使用多个筛选器表达式,react-native,graphql,aws-sdk,aws-appsync,dynamodb-queries,React Native,Graphql,Aws Sdk,Aws Appsync,Dynamodb Queries,我一辈子都不知道如何在Appsync解析器中使用两个不同的过滤器表达式。我正试图根据另外两条数据检索ID,email和username 下面是我的解析器的外观: { "version" : "2017-02-28", "operation" : "Scan", "filter" : { "expression" : "email = :email

我一辈子都不知道如何在Appsync解析器中使用两个不同的过滤器表达式。我正试图根据另外两条数据检索ID,
email
username

下面是我的解析器的外观:

{
  "version" : "2017-02-28",
  "operation" : "Scan",
  "filter" : {
    "expression" : "email = :email and username = :username",
    "expressionValues" : {
      ":email" : { "S" : "${context.arguments.email}" },
      ":username" : { "S" : "${context.arguments.username}" },
    },
  }
}
我得到
数据:null
作为响应,即使我的请求似乎有效

有什么建议吗