This commit is contained in:
Benjamin Toby
2024-12-28 18:44:08 +01:00
parent 29fd6e6203
commit 92290f3796
4 changed files with 21 additions and 10 deletions
@@ -214,7 +214,11 @@ function sqlGenerator({ tableName, genObject }) {
.map((mtch) =>
generateJoinStr(mtch, join)
)
.join(" AND ") +
.join(
join.operator
? ` ${join.operator} `
: " AND "
) +
")"
);
} else if (typeof join.match == "object") {