Apigee entity primary key

71 views Asked by At

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.

1

There are 1 answers

0
Jeff West On BEST ANSWER

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'?