Package version:
Create a StoredProcedure.
Azure Cosmos DB allows stored procedures to be executed in the storage tier, directly against an item container. The script gets executed under ACID transactions on the primary storage partition of the specified container. For additional details, refer to the server-side JavaScript API documentation.
Optionaloptions: RequestOptionsQuery all Stored Procedures.
Query configuration for the operation. See SqlQuerySpec for more info on how to configure a query.
Optionaloptions: FeedOptionsQuery all Stored Procedures.
Query configuration for the operation. See SqlQuerySpec for more info on how to configure a query.
Optionaloptions: FeedOptionsRead all stored procedures.
Optionaloptions: FeedOptions
Operations for creating, upserting, or reading/querying all Stored Procedures.
For operations to read, replace, delete, or execute a specific, existing stored procedure by id, see
container.storedProcedure().