When retrieving data and resolving a reference, is there a way to exclude certain fields in the reference from that retrieval?
For example, say there is an Account object with an associated User object. I would like to query all Account objects with their User objects without including a certain field from the User objects.
over 5 years ago
Currently there is no built-in way to specify fields to exclude. However, one way to achieve this would be by creating an "after fetch" business logic collection hook on your Accounts collection, which removes certain fields from the result.