I use a stored procedure in documentDB with partitions. documentDB Consistency is configured for "Session".
I do [1-5] in a function.
[1]. I use collection.queryDocuments to query a document A by some keys.
[2]. I use collection.deleteDocument to delete the document A.
[3]. I use collection.createDocument to create a document B.
[4]. I use collection.queryDocuments to query the document B by some keys.
[5]. I use collection.deleteDocument to delete the document B.
in [5], I get a [Resource Not Found]Error.
Message: {"Errors":["Encountered exception while executing function. Exception =
Error: Error{\"Errors\":[\"Resource Not Found\"]}\r\nStack trace: Error: Error{\"Errors\":[\"Resource Not Found\"]}\n
I use a stored procedure in documentDB with partitions. documentDB Consistency is configured for "Session".
I do [1-5] in a function.
[1]. I use collection.queryDocuments to query a document A by some keys. [2]. I use collection.deleteDocument to delete the document A. [3]. I use collection.createDocument to create a document B. [4]. I use collection.queryDocuments to query the document B by some keys. [5]. I use collection.deleteDocument to delete the document B.
in [5], I get a [Resource Not Found]Error. Message: {"Errors":["Encountered exception while executing function. Exception = Error: Error{\"Errors\":[\"Resource Not Found\"]}\r\nStack trace: Error: Error{\"Errors\":[\"Resource Not Found\"]}\n