sql-builder
sql-builder copied to clipboard
Sample code errors
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 "||".
This should not be an error, and
and or
are valid c++ keywords:
https://en.cppreference.com/w/cpp/language/operator_alternative