I've searched all over the place trying to find an example of using counterQuery, and even in the API and test suites, the only source I've found of counterQuery is in an array's index (of hasMany in model). No one seems to have an examples of its usage either.
There was a question over this in Cake v1.1 from 2006, where Larry said it was not yet implemented. Is it being replaced in favor of counterCache and the TreeBehavior? If so, can counterCache work on self-referencing tables such as Model1 hasMany Model1 (I was unable to get it to work like that)? I am moving forward and most likely using TreeBehavior as suggested by _psychic_ (thanks), but it definitely is more than what's needed for this specific task. Just kind of curious over the current status of counterCache and counterQuery from anyone that knows. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
