我目前用的是5.1版本
note表里放的是标题
noteArticle放的是内容
使用withSearch时分别在两个model中建了ti
tle和body的搜索器,可在控制器中发现两个无法关联在一起。
只能
$noteKey = noteModel::withSearch(....);
$noteArticleKey = noteArticleModel::withSearch(...);
请问大神,我该怎么用搜索器实现多个表联合查询呢。
我感觉withSearch功能挺不错,但好像用的人真是少的可怜,百度根本搜不出任何的信息。