Closed Flamenco closed 6 years ago
The apostrophe is not escaped in this case:
let titleQuery = "it's" qb.like('s.title', titleQuery, 'both')
The produced SQL has invalid syntax
AND `s`.`title` LIKE '%it's%'
The documentation states:
All fields are escaped automatically, no exceptions.
Yikes, I'll right a test and get it fixed for v2. Thanks for the bug report.
This is officially fixed in the v2 branch. Beta should be out soon.
The apostrophe is not escaped in this case:
The produced SQL has invalid syntax
The documentation states: