diff --git a/Traits/QueryTrait.php b/Traits/QueryTrait.php index c941570..ef40943 100644 --- a/Traits/QueryTrait.php +++ b/Traits/QueryTrait.php @@ -1058,12 +1058,12 @@ abstract class QueryTrait extends Component implements ActiveQueryInterface, ISq */ private function sprintf(string $column, mixed $value, string $opera = '='): string { - if (is_string($value)) { - [$alias, $field] = explode('.', $value); - if (in_array($alias, $this->_alias)) { - return $column . ' ' . $opera . ' ' . $value; - } - } +// if (is_string($value)) { +// [$alias, $field] = explode('.', $value); +// if (in_array($alias, $this->_alias)) { +// return $column . ' ' . $opera . ' ' . $value; +// } +// } $this->pushParam($value); return $column . ' ' . $opera . ' ?'; }