I have a third-party plugin that uses these functions to “build” a sql statement to retrieve some data:
$this->EE->db->select();
$this->EE->db->from();
$this->EE->db->join();
$this->EE->db->where()
$this->EE->db->order_by();
$this->EE->db->limit();How can I get the SQL that this thing builds before the $this->EE->db->get() is run?