Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TYPEOF queries not supported #31

Open
larsenp opened this issue Nov 23, 2021 · 0 comments
Open

TYPEOF queries not supported #31

larsenp opened this issue Nov 23, 2021 · 0 comments

Comments

@larsenp
Copy link

larsenp commented Nov 23, 2021

The following query returns records in my instance when run in Workbench:

SELECT TYPEOF What
WHEN Account THEN Phone
ELSE Name END
FROM Task

If I run the same query in Realfire, I get the following error message:

Error parsing [SELECT TYPEOF What
WHEN Account THEN Phone
ELSE Name END
FROM Task]. Error: missing 'from' at 'WHEN', missing EOF at 'THEN'

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant