We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CASE
END
Mammoth seems to omit the CASE and END keywords:
mammoth/workspaces/mammoth/src/__tests__/select.test.ts
Line 893 in 8122afe
When I run the query
"SELECT foo.id, (WHEN foo.value > $1 THEN $2 ELSE $3) greatness FROM foo"
Postgres returns:
ERROR: syntax error at or near "WHEN"
"SELECT foo.id, (CASE WHEN foo.value > $1 THEN $2 ELSE $3 END) greatness FROM foo"
Postgres runs the query correctly.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Mammoth seems to omit the
CASE
andEND
keywords:mammoth/workspaces/mammoth/src/__tests__/select.test.ts
Line 893 in 8122afe
When I run the query
Postgres returns:
When I run the query
Postgres runs the query correctly.
The text was updated successfully, but these errors were encountered: