Skip to content

Commit

Permalink
fix cqn4sql for computed falsy values
Browse files Browse the repository at this point in the history
  • Loading branch information
BobdenOs committed Aug 27, 2024
1 parent 1e47b0b commit 1783b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db-service/lib/cqn4sql.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ function cqn4sql(originalQuery, model) {
res = getTransformedTokenStream([value], baseLink)[0]
} else if (xpr) {
res = { xpr: getTransformedTokenStream(value.xpr, baseLink) }
} else if (val) {
} else if (val !== undefined) {
res = { val }
} else if (func) {
res = { args: getTransformedFunctionArgs(value.args, baseLink), func: value.func }
Expand Down

0 comments on commit 1783b09

Please sign in to comment.