Skip to content

fix(engine/sqlite): support -> and ->> operators #2927

New issue

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

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

orisano
Copy link
Contributor

@orisano orisano commented Oct 30, 2023

close #2919

There are still cases where the type inference part does not work properly, but this can be worked around with explicit CAST.

The E2E test included in this PR also yields incorrect type inference results.
The type of the result of the ->> operator is any, but it is inferred to be text.

close sqlc-dev#2919

There are still cases where the type inference part does not work properly,
but this can be worked around with explicit CAST.
@kyleconroy kyleconroy merged commit 9cd9139 into sqlc-dev:main Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

sqlite/json: support -> and ->> operators
2 participants