mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
dbHandler의 operation에 not in 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5206 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f406df3349
commit
2395c36ae9
1 changed files with 7 additions and 0 deletions
|
|
@ -372,6 +372,9 @@
|
|||
case 'like' :
|
||||
$value = '%'.$value.'%';
|
||||
break;
|
||||
case 'notin' :
|
||||
return "'".$value."'";
|
||||
break;
|
||||
case 'in' :
|
||||
return "'".$value."'";
|
||||
break;
|
||||
|
|
@ -395,6 +398,7 @@
|
|||
case 'like_prefix' :
|
||||
case 'like' :
|
||||
case 'in' :
|
||||
case 'notin' :
|
||||
case 'notequal' :
|
||||
// 변수가 세팅되지 않고, 문자열이나 숫자형이 아니면 리턴
|
||||
if(!isset($value)) return;
|
||||
|
|
@ -426,6 +430,9 @@
|
|||
case 'in' :
|
||||
return $name.' in ('.$value.')';
|
||||
break;
|
||||
case 'notin' :
|
||||
return $name.' notin ('.$value.')';
|
||||
break;
|
||||
case 'notequal' :
|
||||
return $name.' <> '.$value;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue