Operator '||' cannot be applied to 'com.amplifyframework.core.model.query.predicate.QueryPredicateOperation<java.lang.String>

0

MY CODE How to add and/or/not operator in query predicate in android?

I saw there is nothing mentioned in andorid but in JavaScript it is mentioned as below:

let filter = {
      or: [{ priority: {eq:1} },
           { priority: {eq:2} }]
  };
await API.graphql({ query: listProducts, variables: { filter: filter}}));

How to achieve the same in android java?

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则