@abaplint/transpiler 2.4.2 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -69,7 +69,14 @@ class SQLCondTranspiler {
|
|
|
69
69
|
if (fieldName === undefined || operator === undefined || source === undefined) {
|
|
70
70
|
throw new Error("SQL Condition, transpiler todo2, " + c.concatTokens());
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
let op = operator.concatTokens();
|
|
73
|
+
if (op.toUpperCase() === "EQ") {
|
|
74
|
+
op = "=";
|
|
75
|
+
}
|
|
76
|
+
else if (op.toUpperCase() === "NE") {
|
|
77
|
+
op = "<>";
|
|
78
|
+
}
|
|
79
|
+
ret += fieldName.concatTokens() + " " + op + " ";
|
|
73
80
|
ret += this.sqlSource(source, traversal);
|
|
74
81
|
return ret;
|
|
75
82
|
}
|