public function setSql($sql, array $params = [])
    {
        $this->sql = (string) $sql;

        $this->setSqlParameters($params);
    }
public function setSql($sql, array $params = [])
    {
        $this->sql = (string) $sql;

        $this->setSqlParameters($params);
    }
public function setSql ( $ sql , array $ params = [ ] ) { $ this -> sql = ( string ) $ sql ; $ this -> setSqlParameters ( $ params ) ; }
Set Query string with Parameters

@param string $sql
@param array  $params
Set Query string with Parameters