I wait to create a parse with new object id, but it updating(i.e, created but with already existing object id). I dont know why its happening. example I have inserting 3 data one by one . first data created one object id and second created but first object id and 3rd also created but fisrt object id, so finally it had added only one data, thats is last one.
here my code :
let data ={ name: "foo", "email":"[email protected]" } myObject.set(data); try { const result = await myObject.save(); // Access the Parse Object attributes using the .GET method console.log( result); } catch (error) { console.error('Error while creating object: ', error); }
This code is only creating one single object? Would you mind to share the code that you are using to create the three objects?