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

Sample code errors #3

Open
jmin911 opened this issue Jan 24, 2019 · 1 comment
Open

Sample code errors #3

jmin911 opened this issue Jan 24, 2019 · 1 comment

Comments

@jmin911
Copy link

jmin911 commented Jan 24, 2019

Very good package.

There are some errors in the sample code.

.where(column("score") > 60 and (column("age") >= 20 or column("address").is_not_null()))

"and" should be &&, and "or" should be "||".

@janosimas
Copy link

This should not be an error, and and or are valid c++ keywords:
https://en.cppreference.com/w/cpp/language/operator_alternative

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

No branches or pull requests

2 participants