How to pass object as parameter into CosmosDB stored procedure
In the azure-cosmosdb, The input parameter passed in is of type string
, rather than of type object. You can do JSON.parse()
to convert it to an object and access the property
In the azure-cosmosdb, The input parameter passed in is of type string
, rather than of type object. You can do JSON.parse()
to convert it to an object and access the property