pvllnspk
pvllnspk

Reputation: 5767

Apigee entity primary key

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.

Upvotes: 0

Views: 62

Answers (1)

Jeff West
Jeff West

Reputation: 1563

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

Upvotes: 1

Related Questions