@configurator/ravendb
Version:
RavenDB client for Node.js
16 lines • 694 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SessionOperationExecutor = void 0;
const OperationExecutor_1 = require("./OperationExecutor");
const Exceptions_1 = require("../../Exceptions");
class SessionOperationExecutor extends OperationExecutor_1.OperationExecutor {
constructor(session) {
super(session.documentStore, session.databaseName);
this._session = session;
}
forDatabase(databaseName) {
return (0, Exceptions_1.throwError)("InvalidOperationException", "The method is not supported.");
}
}
exports.SessionOperationExecutor = SessionOperationExecutor;
//# sourceMappingURL=SessionOperationExecutor.js.map