0

I have a custom entity Entity1, and I need to make it id field primary key. How to do it? I expect that when I call mDataClient.createEntityAsync - it will update the entity if the same id already exists, currently it creates a new one. Thanks.

pvllnspk
  • 5,667
  • 12
  • 59
  • 97

1 Answers1

1

Right now we do not support a primary key other than 'name' which is the default on all collections. Can you use 'name' instead of 'id'?

Jeff West
  • 1,563
  • 9
  • 11