Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
NOT
BOOLEAN
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
2.0.0-alpha03
PostgreSQL
The NOT operator should be available on boolean columns of a table. For example, the following should be valid.
CREATE TABLE event( synced BOOLEAN NOT NULL DEFAULT FALSE ); invert: SELECT * FROM event WHERE NOT synced;
Right now, the SQLDelight compiler complains that NOT expects EXISTS.
EXISTS
/home/kevin/code/hoa-webhook/event/src/main/sqldelight/org/climatechangemakers/hoa/event/database/HourOfActionEvent.sq: (23, 10): EXISTS expected, got 'synced' 22 SELECT secret FROM hour_of_action_event 23 WHERE NOT synced AND event_start < :today ^^^^^^
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
SQLDelight Version
2.0.0-alpha03
SQLDelight Dialect
PostgreSQL
Describe the Bug
The
NOT
operator should be available on boolean columns of a table. For example, the following should be valid.Right now, the SQLDelight compiler complains that
NOT
expectsEXISTS
.Stacktrace
No response
The text was updated successfully, but these errors were encountered: