我试图查询一个多对多的关系与Laravel 5雄辩,与一个数据透视表,我m trying to retrieve only "articles" that has tag "A" and tag "B"together, but not succeed, eloquent的文章有标签"A“和标签”B“,有没有办法做到这一点?没什么好说的,它能工作。, $tag);
}
我正在尝试编写一个雄辩的查询,它的工作原理如下: Tables:Support Ticket (one to many with the order) 查询:过滤支持工单,仅当支持工单使用时间小于我觉得这将是Laravel中whereHas()方法的改编,但我不确定如何在这样的关系上实现过滤器或日期搜索。 谢谢!