Skip to content
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

More than two conditions in WHERE results in an error #75

Closed
dropsonic opened this issue Jan 22, 2024 · 2 comments
Closed

More than two conditions in WHERE results in an error #75

dropsonic opened this issue Jan 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@dropsonic
Copy link

Describe the bug
More than two conditions in WHERE results in an error.

To Reproduce
Steps to reproduce the behavior:
Execute any statement with more than two conditions in the WHERE section:

SELECT COUNT(commit_id) FROM commits WHERE datetime >= "2023-01-01 00:00:00" AND email = "myname@mail.com" AND comment like "%merge%"

Expected behavior
The results are returned; all condition are applied.

Actual behavior
An error: Unexpected content after the end of 'SELECT' statement

Screenshots
image

GQL (please complete the following information):

  • Version v0.12.0
@AmrDeveloper AmrDeveloper added the bug Something isn't working label Jan 22, 2024
@AmrDeveloper
Copy link
Owner

Hello @dropsonic,

Thank you for reporting, i solved it now for AND, OR, XOR

Will do more testing and release it in 0.13.0 next friday

Thanks

@AmrDeveloper
Copy link
Owner

Fixed and released in 0.13.0

https://github.com/AmrDeveloper/GQL/releases/tag/0.13.0

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants