UNPKG

ravendb

Version:
29 lines 953 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GetEssentialStatisticsOperation = void 0; const RavenCommand_js_1 = require("../../Http/RavenCommand.js"); class GetEssentialStatisticsOperation { get resultType() { return "CommandResult"; } getCommand(conventions) { return new GetEssentialStatisticsCommand(); } } exports.GetEssentialStatisticsOperation = GetEssentialStatisticsOperation; class GetEssentialStatisticsCommand extends RavenCommand_js_1.RavenCommand { createRequest(node) { const uri = node.url + "/databases/" + node.database + "/stats/essential"; return { method: "GET", uri }; } async setResponseAsync(bodyStream, fromCache) { return this._parseResponseDefaultAsync(bodyStream); } get isReadRequest() { return true; } } //# sourceMappingURL=GetEssentialStatisticsOperation.js.map