Articles tagged 'materialised path'

Today we figure out a novel approach to the materialised path pattern for representing hierarchical data in SQL. It takes advantage of PostgreSQL's native support for array types. But it also poses a question: can we make use of ActiveRecord's preloading machinery for eager loading these trees? Read more…