Azure Cosmos DB asking for partition key for stored procedure

后端 未结 3 1592
面向向阳花
面向向阳花 2020-12-07 02:17

I am using GUID Id as my partition key and I am facing problem when I am trying to run a stored procedure. To run a store procedure I need to provide partition key ans I am

3条回答
  •  一生所求
    2020-12-07 02:35

    Example your partition key is /id

    and your cosmos document is

    {
      "id" : abcde
    }
    

    When store procedure run, you need to paste: abcde value

    So if you want your store procedure running cross partition, it can't Answer from cosmos team https://feedback.azure.com/forums/263030-azure-cosmos-db/suggestions/33550159-support-stored-procedure-execution-over-all-partit

提交回复
热议问题