Hello,

I was wondering if you could use counterCache for deeper level associations.
I'm not sure if I'm saying it right.

Let's say we have 3 tables: forums, topics and posts.

Forum hasMany Topic
Topic hasMany Post

I can make the topic_count field in Forum update when a new topic is added
and I can also update the post_count field in Topic when a new post is added
with the help of counterCache.

But, can I update the field post_count in Forum with counterCache when a new
post is added?

Thanks,
Andrei

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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