【发布时间】:2015-04-25 09:05:36
【问题描述】:
我想使用 parse PFQuery 从对象数组中查询,但我希望结果按照我放入的顺序,例如:
var age = [26, 28, 30, 20]
var ageQuery = PFUser.query()
ageQuery.whereKey("age", containedIn: age)
let finalResult = ageQuery.findObjects()
println(finalResult) // To equal my search but in the order I have put them in, so the first result should be 26, then 28 etc.
是否有一定的搜索顺序?
谢谢
【问题讨论】:
标签: arrays swift parse-platform pfquery