@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
20 lines • 743 B
JavaScript
import { ResourceResponse } from "../../request/index.js";
export class StoredProcedureResponse extends ResourceResponse {
constructor(resource, headers, statusCode, storedProcedure, diagnostics) {
super(resource, headers, statusCode, diagnostics);
this.storedProcedure = storedProcedure;
}
/**
* A reference to the {@link StoredProcedure} which the {@link StoredProcedureDefinition} corresponds to.
*/
storedProcedure;
/**
* Alias for storedProcedure.
*
* A reference to the {@link StoredProcedure} which the {@link StoredProcedureDefinition} corresponds to.
*/
get sproc() {
return this.storedProcedure;
}
}
//# sourceMappingURL=StoredProcedureResponse.js.map