1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-10 18:54:08 +02:00

[ticket/12671] Possibility to use NOT LIKE expression

PHPBB3-12671
This commit is contained in:
Geolim4
2014-08-08 15:06:12 +02:00
parent f6da266109
commit 6b60153ab4
11 changed files with 137 additions and 0 deletions

View File

@@ -418,6 +418,16 @@ interface driver_interface
*/
public function sql_like_expression($expression);
/**
* Correctly adjust NOT LIKE expression for special characters
* Some DBMS are handling them in a different way
*
* @param string $expression The expression to use. Every wildcard is
* escaped, except $this->any_char and $this->one_char
* @return string A SQL statement like: "NOT LIKE 'bertie_%'"
*/
public function sql_not_like_expression($expression);
/**
* Explain queries
*