[eluser]imorris[/eluser]
I'm having trouble pulling a clob back from an Oracle database. I'm not sure what I have to do to handle the clob ('W.DESCRIPTION' in this case).
Here's what is in my Model:
Code:
function get_last_ten_changes()
{
$this->db->select('A.ASSETNAME, W.DESCRIPTION');
$this->db->from('WORKORDER W');
$this->db->join('ASSET A', 'W.ASSETID = A.ID','inner');
$this->db->where('W.CHANGEREQUEST', '1');
$this->db->limit(10);
$query = $this->db->get();
return $query;
}
Here is the error I'm getting:
Code:
A PHP Error was encountered
Severity: 4096
Message: Object of class OCI-Lob could not be converted to string
Filename: views/welcome_message.php
Line Number: 62
Any suggestions?