mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1280 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ad2754314c
commit
210ebdbc26
8 changed files with 151 additions and 20 deletions
|
|
@ -284,17 +284,17 @@
|
|||
$value = preg_replace('/(^\'|\'$){1}/','',$value);
|
||||
|
||||
switch($operation) {
|
||||
case 'like_tail' :
|
||||
case 'like_prefix' :
|
||||
$value = $value.'%';
|
||||
break;
|
||||
case 'like_prefix' :
|
||||
case 'like_tail' :
|
||||
$value = '%'.$value;
|
||||
break;
|
||||
case 'like' :
|
||||
$value = '%'.$value.'%';
|
||||
break;
|
||||
case 'in' :
|
||||
return "'".$value."'";
|
||||
return "'".$value."'";
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue