I have an azure table that contains 2 different entities
These 2 entity have the same partition key, it is intentional by design so these entities are
stored in one partition.
Row key is of course unique.
Is it possible to query only a specific entity by partition key?
or do i have to manualy create a property as an identifier for each entity in the same azure table?
basically the shape of my table is
Partition Key| Row Key |Entity Type |
====================================
1 | X | Entity A
1 | Y | Entity B
1 | Z | Entity B
I only want to retrieve for Entity B
using the Partition Key 1
query only a specific entity by partition key
. As you mentioned these 2 entities has different row key then you can specify the row key and partition key to retrieve the one you want. Might be better provide more information. – Shaun Xu