We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is an issue with LIKE method of query builder class when 'BEFORE' parameter is passed.
This code generates database error : $this->db->select('*')->like('id', 'zefzefezf', 'BEFORE')->get('email_v2');
$this->db->select('*')->like('id', 'zefzefezf', 'BEFORE')->get('email_v2');
Result : SELECT * FROM email_v2 WHERE id LIKE %'zefzefezf' ESCAPE '!'
SELECT * FROM
WHERE id LIKE %'zefzefezf' ESCAPE '!'
The 'BOTH' and 'AFTER' parameter are working properly.
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
Please don't post screenshots of code. It really doesn't help, and it's annoying.
Merge pull request #5464 from ytetsuro/fix/#5462/like-before-bug
fb61fa3
Fixed issue #5462 Query Builder LIKE BEFORE doesnt work
9341189
[ci skip] Add changelog entry for #5462 (PR #5464)
d85c048
Fixes bcit-ci/CodeIgniter#5462
eb8e477
No branches or pull requests
There is an issue with LIKE method of query builder class when 'BEFORE' parameter is passed.
This code generates database error :
$this->db->select('*')->like('id', 'zefzefezf', 'BEFORE')->get('email_v2');
Result :
SELECT * FROM
email_v2WHERE id LIKE %'zefzefezf' ESCAPE '!'
The 'BOTH' and 'AFTER' parameter are working properly.
The text was updated successfully, but these errors were encountered: