Better display the dump of query using $query->dump() method.