I have been looking for days around and find anything useful My problem is Could. I could not set the criteria-insensitive order (A-1BDD). Because when I try to get my records from DB, do not order properly since its ASCII problems (ABC ABC) I want to set my order criteria like this; but doesnt motivate me to go to upper usage in the installation of criterias - so I like to install it like this; I can get some help, this function is doing what I found; There is a new problem with this function. If I set the ORDER criteria anywhere, it will work as a magic but if I set 'WHERE' and 'ORDER' together, then I have to motivate. Fatal Error: Unable to execute 'Propellal Exclusion' selection statement with unwanted exception message [] [wrapped: /usr/local/share/pear/propel/query/ModelCriteria.php : 1153 in stack trace] ': TableMap can not be brought to the undefined table. # 0 /usr/local/share/pear/propel/query/ModelCriteria.php (101 9): Model Caractia-> Gate Select Statement (NULL) Thank you. It is fixed in 1.6.x. I pushed some tests to prove this:
parameters :: setCriterias (array ('order' = & gt; 'upper (name)');
parameters :: setCriterias (array ('order' = & gt; 'name'));
setIgnoreCase (true)
Comments
Post a Comment