0
如何在查詢條件下獲得沒有城市的列表。類似的東西否定查詢條件yii2
joinWith(['address' => function($query){
$query->orWhere(['order_delivery_address_city' => 'New York']);
$query->orWhere([ 'order_delivery_address_city' => 'London']);
如何設置否定爲這樣的!= New York
?
有錯誤'無效的參數 - yii \ base \ InvalidParamException 運算符'NOT'只需要一個操作數。' – cruim
@cruim抱歉,已修復,現在檢查 – Ripper