mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-21 09:01:33 +08:00
@@ -202,7 +202,7 @@ $customer = Customer::findOne([
|
||||
|
||||
// returns all inactive customers
|
||||
// SELECT * FROM `customer` WHERE `status` = 0
|
||||
$customer = Customer::findAll([
|
||||
$customers = Customer::findAll([
|
||||
'status' => Customer::STATUS_INACTIVE,
|
||||
]);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user