-
Notifications
You must be signed in to change notification settings - Fork 75
Open
Description
I believe the SampleStoredProcedure.executeStoredProcedureArrayArg() method's objective is to demonstrate how to pass arrays as an argument to the stored procedure. However the sproc_args list isn't being inserted into the Cosmos container.
Instead the javascript stored proc is simply creating a hard coded doc without accepting the array.
sproc_args.add(new CustomPOJO("idA"));
sproc_args.add(new CustomPOJO("idB"));
sproc_args.add(new CustomPOJO("idC"));
CosmosStoredProcedureResponse executeResponse = container.getScripts()
.getStoredProcedure(sprocId+"ArrayArg")
.execute(sproc_args, options);
The stored procedure ignores the input parameter array.
Metadata
Metadata
Assignees
Labels
No labels