Could I use the document mask, or info from the results object to simplify/automate the fetching of the content?
What I want to achieve is to write less code in my custom code. Preferrably, I would like to setup the route handlers and specify which documents and properties I'd like to return to the template. Ideally it shouldn't require more than passing an object or array of fields and documents some query module.
Could I use the document mask, or info from the results object to simplify/automate the fetching of the content?
What I want to achieve is to write less code in my custom code. Preferrably, I would like to setup the route handlers and specify which documents and properties I'd like to return to the template. Ideally it shouldn't require more than passing an object or array of fields and documents some query module.