has method
Models with at least one related row through relation.
Implementation
ModelQuery<T> has(String relation) => whereHas(relation);
Models with at least one related row through relation.
ModelQuery<T> has(String relation) => whereHas(relation);