Skip to content

Best approach to counter_cache and summarization #230

Open
@narath

Description

@narath

Closure tree looks great. I need to be able to report out on count (count the number of all descendents) and do some other summarization (summing points for the node and all children). Is there a recommended approach for this? Would counter_cache work appropriately for the node object? For the more complicated summarization (summing points and totals for all descendents) are their custom callbacks that can be used?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions