I have some heavy-lifting occurring in my entity’s accessors but only need these for drawing a complex SVG chart that I’m building. I’m loading the data into the DOM via AJAX so these virtual fields are in my
$_virtual class member. However, sometimes I just need the basic db fields and not any of the calculated values from my accessors.
How can I “turn off” these values on a per-query basis?
I’ve tried just selecting the ones I need (via
fields key in a contain), but the virtual ones still come back to me.