有没有办法通过仪表板编辑 Parse 数据库条目?

Is there a way to edit Parse database entries through the dashboard?

是否可以在 Parse 仪表板上编辑 class 中的字符串?例如,我有以下代码:

PFObject *announcement1 = [PFObject objectWithClassName:@"Announcement1"];
announcement1[@"Body"] = @"Changes to training progression";
[announcement1 saveInBackground];

本质上,我想做的是将 Parse 视为数据库。我创建一个 PFObject,调用 class "Announcement1" 并在标签中显示字符串 "Body"。

我已经创建了查询来提取标签中的 "Body" 字符串:

PFQuery *announcement1Query = [PFQuery queryWithClassName:@"Announcement1"];
[announcement1Query getObjectInBackgroundWithId:@"GvuO1ZUYwR"];
NSString *announcement1BodyText = announcement1[@"Body"];
announcement1Label.text = announcement1BodyText;

现在我的问题是,是否可以进入我的 Parse 仪表板并编辑 "Body" 字符串以便每次都使用新信息实时更新标签?如果没有,执行此操作的最佳方法是什么?

谢谢,穆斯塔法

是的。您可以使用仪表板更新解析中的数据。 Parse不支持realtime DB,需要再次查询对象或刷新对象才能看到真实数据。