How do I assign an id to CosmosDB graph edge when I created it?

Viewed 926

I see in the docs that it mentions UserSuppliedIds is supported for edges but any edge I create ignores my .property assignment for id and assigns a guid. I don't want to add duplicate edges between two vertices so I was going to assign my own id to it( and then I can quickly and efficiently for query it using regular sql syntax too). How can I use my own 'id' for an edge?

3 Answers
Related