Hello everyone! I have created my hole app "but", I need to reduce the number of connections to the database. This is what I have in mind.
I want to catch all the queries my application asks to the DB (the ones that goes throught Model->save), append this SQL queries to a flat file, and run all the queries together using just one connection. There is no problem about timming or answers from the DB, since this is just a stats application, basically I just need to log every call to my DB. What I don't have idea is how to catch the query before it goes to the database server. Anyone? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
