Using PHP to count the number of comments may be applicable if you do have small amounts of data. But I would prefer passing the work over to the MySQL server.
I know that I can use the query method in order to send plain SQL queries. What I am asking for is a standard method to construct table names. I want to use different database configurations with the same application code. Some of those configurations use the 'prefix' attribute. If I used plain table names in my SQL queries, the tables would not always be found. Does the framework provide a way to access the fully constructed (any prefixes appended) table names? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
