Skip to content

Conversation

haines
Copy link
Contributor

@haines haines commented Nov 30, 2022

Fixes #1140

Currently, SELECT NOT EXISTS queries produce any-typed results. This PR makes them produce bool-typed results, and defaults the column name to not_exists to mirror the behaviour of SELECT EXISTS queries.

@kyleconroy kyleconroy merged commit ed5ffbc into sqlc-dev:main Feb 23, 2023
@haines haines deleted the select-not-exists branch February 23, 2023 19:22
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.

'SELECT NOT EXISTS' queries should return bool, but doesn't
2 participants