What database engine are you using? As far as I know, the MyIsam engine only allows varchar(256), so that could be the reason. InnoDb allows more!
I have varchar(2000) columns in my tables, no issue with them and I am using InnoDb. Enjoy, John On Jun 11, 3:22 pm, Jonas <[email protected]> wrote: > Hello, > > I am trying to make a query with a line like this: > > $this->find('all', array('conditions' => $conditions, 'fields' => > $columns, 'order' => $order, 'limit' => $limit)); > > everything works fine except that my text column, which is > VARCHAR(2000) in the database only returns 256 characters in the > resulting array. 256 seems very suspect, is there some limit on how > big the result can be? If I want all the data, how do I proceed? > > Regards, > Jonas Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
