@configurator/ravendb
Version:
RavenDB client for Node.js
19 lines • 549 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.WithToken = void 0;
const QueryToken_1 = require("./QueryToken");
class WithToken extends QueryToken_1.QueryToken {
constructor(alias, query) {
super();
this._alias = alias;
this._query = query;
}
writeTo(writer) {
writer.append("with {");
writer.append(this._query);
writer.append("} as ");
writer.append(this._alias);
}
}
exports.WithToken = WithToken;
//# sourceMappingURL=WithToken.js.map