Open selfclose opened 4 years ago
Interesting... I'd be happy to merge in a PR if you can patch the bug. I'm swamped with a million other things at the moment, unfortunately.
Remove else if condition in _qb_escape function.
File Path - node_modules\node-querybuilder\drivers\mysql\query_builder.js
Im using v2.1.1
When using
.like()
and.or_like()
on numeric, Quote got removed '%123%' became %123% and error of executionER_PARSE_ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%123% OR
first_nameLIKE %123% OR
last_nameLIKE %123% ORDER BY
idDESC LI' at line