ravendb
Version:
RavenDB client for Node.js
23 lines • 822 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.SessionOperationExecutor = void 0;
const OperationExecutor_js_1 = require("./OperationExecutor.js");
const index_js_1 = require("../../Exceptions/index.js");
/**
* For internal session use only
*/
class SessionOperationExecutor extends OperationExecutor_js_1.OperationExecutor {
_session;
/**
* This constructor should not be used
*/
constructor(session) {
super(session.documentStore, session.databaseName);
this._session = session;
}
forDatabase(databaseName) {
return (0, index_js_1.throwError)("InvalidOperationException", "The method is not supported.");
}
}
exports.SessionOperationExecutor = SessionOperationExecutor;
//# sourceMappingURL=SessionOperationExecutor.js.map