allon an entity. By default, it returns an array. Every entity can override its
newCollectionmethod and return a custom collection. This method accepts an array of entities and should return your custom collection.
QuickCollectionis a custom collection included in Quick as an extra component. It is a specialized version of
CFCollection. It smooths over the various CFML engines to provide an extendible, reliable array wrapper with functional programming methods. You may be familiar with methods like
ArrayReduce). These methods work in every CFML engine with
cfcollectionand configure it as your as your
loadlets you eager load a relationship after executing the initial query.
$renderDatamethod that lets you return a
QuickCollectiondirectly from your handler and translates the results and the entities within to a serialized version. Check out more about it in the Serialization chapter.