Azure Storage stores objects in lexicographical order, indexed by section of the section as the primary index, and Row Key as the secondary. In general, for your scenario, this sounds like UserId is great for a section key, so you have a Row Key to optimize for each request.
If you want the user to browse the wish lists from above, you can use the journal tail template in which your string key will be the inverted date type in DateTime when the user wish list was entered by the user. https://docs.microsoft.com/en-us/azure/storage/storage-table-design-guide#log-tail-pattern
If you want the user to see their wish lists sorted by item name, you could specify your name as a keyword, and thus entities will be sorted by azure.
When you write data, you may want to denormalize the data and make several entries using these different line string schemes. Since you will have the same partition key as the user ID, you can perform the insert operation in batch loading at this stage and not worry about consistency, since the operations of the azure batch table are atomic.
To distinguish between different line patterns, you can add each value with a const string. Like your inverted tick string key value, for example woul dbe, for example, "InvertedTicks_ [InvertedDateTimeTicksOfTheWishList]", and the item name string key value will be "ItemName_ [ItemNameOfTheWishList]"
Dogu arslan
source share