mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Update for IN query - fix for when argument is column name.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8809 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
bb95345fb2
commit
99b5d718e6
6 changed files with 57 additions and 26 deletions
|
|
@ -17,8 +17,12 @@
|
|||
$this->_value = $argument->getValue();
|
||||
else if(is_a($this->argument, 'Subquery'))
|
||||
$this->_value = $argument->toString();
|
||||
else
|
||||
else {
|
||||
if(in_array($operation, array('in', 'not in')))
|
||||
$this->_value = '('. $argument .')';
|
||||
else
|
||||
$this->_value = $argument;
|
||||
}
|
||||
}
|
||||
|
||||
function hasArgument(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue