public function query($query,$sqlParams=null)
    {
        $this->query =  (string)$query;
        if ($sqlParams!=null) {
            $this->sqlParams = $sqlParams;
        }
        return $this;
    }
public function query($query,$sqlParams=null)
    {
        $this->query =  (string)$query;
        if ($sqlParams!=null) {
            $this->sqlParams = $sqlParams;
        }
        return $this;
    }
public function query ( $ query , $ sqlParams = null ) { $ this -> query = ( string ) $ query ; if ( $ sqlParams != null ) { $ this -> sqlParams = $ sqlParams ; } return $ this ; }
Set the query and params

@param string $query     The SQL query statement
@param array  $sqlParams The parameters of SQL query

@return PdoDataSource This datasource object
Set the query and params