Hi’ everyone
How to hide ‘_joinData’ retrieving data
Hi’ everyone
How to hide ‘_joinData’ retrieving data
Don’t select it, or call $query->enableAutoFields(false)
I use formatResults and call unset($row[’_joinData’]) to remove the fields i want hidden when exposed to a JSON endpoint.
Additional - we also do some post processing to tidy up the results in general.