protected function compileValue($value, array &$bindings): string
    {
        if ($value instanceof Query || $value instanceof StatementInterface) {
            return $this->compileSubQuery($value, $bindings);
        }

        $this->mergeBindings($bindings, [$value]);
        return '?';
    }
protected function compileValue($value, array &$bindings): string
    {
        if ($value instanceof Query || $value instanceof StatementInterface) {
            return $this->compileSubQuery($value, $bindings);
        }

        $this->mergeBindings($bindings, [$value]);
        return '?';
    }
protected function compileValue ( $ value , array & $ bindings ) : string { if ( $ value instanceof Query || $ value instanceof StatementInterface ) { return $ this -> compileSubQuery ( $ value , $ bindings ) ; } $ this -> mergeBindings ( $ bindings , [ $ value ] ) ; return '?' ; }
Converts a value to a part of an SQL query text. Actually it sends all the values to the bindings.

@param mixed|Query|StatementInterface $value Value (a scalar value or a subquery)
@param array $bindings Bound values (array is filled by link)
@return string SQL text
Converts a value to a part of an SQL query text . Actually it sends all the values to the bindings .