无法在解析中从安装表中检索数据...一些注释说它需要许可(主密钥)..您能帮我实现一个主密钥并从INSTALLATION表中检索数据吗?

这是我的代码:

public void getVanStatus(final ArrayList itemsArray,Final TellerResponse tellerResponse){

    ParseQuery<ParseObject> query = new ParseQuery<ParseObject>("Installation");
    query.whereContains("appName", "PLC Admin").findInBackground(new FindCallback<ParseObject>() {
        @Override
        public void done(List<ParseObject> list, ParseException e) {
            itemsArray.clear();
            if (e == null && list != null) {

                itemsArray.addAll(list);

            }
        tellerResponse.responseReceived(ResponseType.GET_VAN_STATUS, null, e);
        }
    });

}

最佳答案

您用来访问数据库的用户必须没有对该表的权限。

10-06 16:19
查看更多