Monday, 3 April 2017

Node.js - Passing partition key when using azure DocumentDB and readDocument(link, options, callback)

I am try to query a DocumentDB that has a partition key using Node.js but it fails. According to here - http://stackoverflow.com/a/43002819/7799859 - I need to pass the partition key is some object that is called options.

Can anyone tell me where I can find examples for this options.partitionKey or options.enableCrossPartitionQuery?

What is this options object? How do I create it in NodeJS?



via David Schechter

No comments:

Post a Comment