mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-14 07:28:41 +00:00
Added query builder where in(...) todo
This commit is contained in:
parent
fdfdbb2146
commit
6eeb701858
|
|
@ -245,6 +245,8 @@ class Grammar extends GrammarAbstract
|
||||||
$expression .= '(' . $this->compileWhere($element['column'], $query->getPrefix()) . ')';
|
$expression .= '(' . $this->compileWhere($element['column'], $query->getPrefix()) . ')';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// todo: handle IN(...) as operator
|
||||||
|
|
||||||
if (isset($element['value'])) {
|
if (isset($element['value'])) {
|
||||||
$expression .= ' ' . strtoupper($element['operator']) . ' ' . $this->compileValue($element['value'], $query->getPrefix());
|
$expression .= ' ' . strtoupper($element['operator']) . ' ' . $this->compileValue($element['value'], $query->getPrefix());
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user