You use getFirst() method ... you have only one record in the result Better would be something like $result->getContent(); ?
And maybe better would be better this at all: $q = Doctrine::getTable('DocumentTplSection')-> ->createQuery('ds') ->where('ds.id = ?', 7); $q->fetchOne(); On 19 dub, 17:57, CrisThor <djca...@gmail.com> wrote: > Hi, my name is Cristian, > > At the moment, I am working with Symfony Framework and I´ve a problem > with the fields type Clob (Oracle). This type Clob return me > Resource id#3. I would like that you can help me with this problem. > > schema: > ------------ > DocumentTplSection: > actAs: { Timestampable: ~ } > columns: > id: > type: integer > unsigned: true > primary: true > notnull: true > autoincrement: true > name: > type: string(64) > notes: > type: clob > content: > type: clob > > query: > -------- > $q = new Doctrine_Query(); > $this->result = $q->select('ds.*') > ->from('DocumentTplSection ds') > ->where('ds.id = ?', 7) > ->execute()->getFirst(); > > sintaxis: > ------------ > $result->DocumentTplSection[0]->get('content'); > Result: Resource id #3 > > Thanks, > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group > athttp://groups.google.com/group/symfony-users?hl=en -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en