Two Query Constraints On One Key with Parse and Swift

前端 未结 2 1419
走了就别回头了
走了就别回头了 2021-01-19 06:14

guys, I am trying to get all the PFUsers whose username is not included in an array (dontShowUsers. I also want to limit the query with the variable name<

2条回答
  •  失恋的感觉
    2021-01-19 06:19

    I would say that you can solve this without using 2 constraints, just before you execute the query, check if name is in the the array, and if it's not, just execute the query.

提交回复
热议问题