yii query not equal code example Example: yii query not equal $details = MovieShows::find() ->where['not', ['attribute' => null]]