mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 06:55:25 +02:00
[feature/sql-bool-builder] Added LIKE and NOT_LIKE to the comparations
PHPBB3-13652
This commit is contained in:
parent
5d70f612be
commit
298d86009e
@ -854,6 +854,18 @@ abstract class driver implements driver_interface
|
||||
|
||||
break;
|
||||
|
||||
case 'LIKE':
|
||||
|
||||
$condition = $condition[0] . ' ' . $this->sql_like_expression($condition[2]) . ' ';
|
||||
|
||||
break;
|
||||
|
||||
case 'NOT_LIKE':
|
||||
|
||||
$condition = $condition[0] . ' ' . $this->sql_not_like_expression($condition[2]) . ' ';
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
$condition = implode(' ', $condition);
|
||||
|
Loading…
x
Reference in New Issue
Block a user