"default" *is* database connection config name in Database
configuration class
(app/config/database.php)

If there's another database config it should be used when model is
mapped to this one.
Cache should be "cake_model_another-connection_posts".




On Mar 2, 1:44 am, pâtissier <[email protected]> wrote:
> Hi...
>
> I see that CakePHP caches a table schema and saves it under /app/tmp/
> cache/models directory.
>
> Is there any way to {pre/ap}pend database name to a cached model?
>
> If posts model is requested,
> - instead of saving temporary file cake_model_default_posts
> - it would save it as cake_model_default_posts_mydbname ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to