sql-builder icon indicating copy to clipboard operation
sql-builder copied to clipboard

Sample code errors

Open jmin911 opened this issue 6 years ago • 1 comments

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 "||".

jmin911 avatar Jan 24 '19 03:01 jmin911

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

janosimas avatar Feb 20 '20 07:02 janosimas