laravel 含不等于的多条件查询

暂无标签

示例代码在Model中

$books = self::where([
        ['alias', '<>', $nobook],
        ['authorid', $authorid],
        ['open', '1']
])->take(5)->get();