Dear bakers, for some of my queries I use queries that contain a COUNT() and those are executed directly by execute() or query().
I do something like this: "....COUNT(test.id) AS count...." But since count does not belong to any Table, it gets assigned some random string in the resulting array in CakePHP that looks like '#sql_3e3a_0'. My guess this is set by the MySQL driver, but i want to be able to rename this or overwrite this behaviour in CakePHP. I would like to rename the random string to 'derived' or something like that, so that everytime i update the database, i will not get a new random string and having to update code that uses that variable. Any idea where to update this in the cake-code? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
