UNPKG

@abaplint/core

Version:
17 lines 753 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SQLHaving = void 0; const combi_1 = require("../combi"); const dynamic_1 = require("./dynamic"); const sql_aggregation_1 = require("./sql_aggregation"); const sql_compare_operator_1 = require("./sql_compare_operator"); const sql_source_1 = require("./sql_source"); class SQLHaving extends combi_1.Expression { getRunnable() { const cond = (0, combi_1.seq)(sql_aggregation_1.SQLAggregation, sql_compare_operator_1.SQLCompareOperator, sql_source_1.SQLSource); const having = (0, combi_1.seq)("HAVING", (0, combi_1.altPrio)(dynamic_1.Dynamic, cond)); return having; } } exports.SQLHaving = SQLHaving; //# sourceMappingURL=sql_having.js.map