这家伙有点懒,还没写个性签名!
YourModel::find() ->andWhere(['!=','keyword','']) ->andWhere(['is not','keyword',null]) ->andWhere(['!=','keyword','*']) ->All();
挺好的,谢谢。