UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

18 lines (16 loc) 361 B
import { SqlQuery } from "./chunk-55SDDPJZ.mjs"; import { ifGet } from "./chunk-SJGQU3OG.mjs"; // src/sql/Delete.ts var Delete = class extends SqlQuery { toString() { return `DELETE FROM ${this.table}` + ifGet(this.clauses.length, ` WHERE ${this.clauses.join(" AND ")};`, ";"); } }; export { Delete }; //# sourceMappingURL=chunk-DF6AC3AA.mjs.map