I added a custom attribute to my model
public function getTouchedAttribute() { ...
I would like to add this to a query
hasMany()->where('touched', ...)
but obviously this isn't a column in the table.
what is the most elegant way to achieve this behavior?