【发布时间】:2016-10-18 14:02:20
【问题描述】:
所以我在解析服务器中遇到了一些指针问题。 我有一个表,它用指针连接另外两个表。
例子:
var table1id //ID of the first table
var table2id //ID of the second Table
var Example = Parse.Object.extend('example_table');
function add_newExample(table1id, table2id) {
var example = new Example();
example.set('table1_id', table1id);
example.set('table2_id', table2id);
example.save(null, {
success: function () {
console.log('New object created');
},
error: function (error) {
console.log('Failed to create new object');
}
})
}
错误:
code: 111error: "schema mismatch for example_table.table1id; expected Pointer but got [object Object]"
【问题讨论】:
标签: javascript parsing parse-platform parse-server