我正在尝试更新Parse上的对象,但是我收到错误消息: [错误]:找不到更新的对象(代码:101)
let query = PFQuery(className: "Answers")
query.findObjectsInBackgroundWithBlock { (objects, error) -> Void in
if let objects = objects {
for object in objects {
object["upVoters"] = ["one","two"]
object.saveInBackground()
}
}
}
造成这种情况的原因是什么,以及如何解决?