So i got some Problems with Pointer in Parse Server. I got a Table, that connect two other Tables with Pointers.
Example:
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');
}
})
}
Error:
code: 111error: "schema mismatch for example_table.table1id; expected Pointer but got [object Object]"