Laravel/Eloquent – how to find models where a related model with certain values doesn't exist?
In Laravel, I have a model called FeatureRequest that can be voted on, thus creating a FeatureVote in a separate database table. A single FeatureRequest can have many FeatureVotes. I want to execute a query that: Excludes users' own feature…