Added query builder where in(...) todo

This commit is contained in:
Dennis Eichhorn 2017-03-01 11:29:41 +01:00
parent fdfdbb2146
commit 6eeb701858

View File

@ -245,6 +245,8 @@ class Grammar extends GrammarAbstract
$expression .= '(' . $this->compileWhere($element['column'], $query->getPrefix()) . ')';
}
// todo: handle IN(...) as operator
if (isset($element['value'])) {
$expression .= ' ' . strtoupper($element['operator']) . ' ' . $this->compileValue($element['value'], $query->getPrefix());
}