nails/common

JIT resource creation

Opened this issue · 0 comments

The getAll method in models processes the entire result set, creating an array of resources. It would be better if the method returned a collection which, when iterated on, created resources and returned them as they are requested.