The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Back4App
  2. 🇺🇸 US Counties Dataset
Public

73
175
73
175
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    GraphQL API Playground
    API Playground
    Get Started Guide
    Get Started
    Contributors
    Contributors

  1. IssueOpen
  2. duplicate object id creating while saving an object in node js

New IssueNew

ashok.kumar.s commented this issue on Dec 2021

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); }

adavimacedo commented this issue on Dec 2021

This code is only creating one single object? Would you mind to share the code that you are using to create the three objects?

Please enter a comment for this issue.