diff --git a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md index ed1decc02..08ccc6c14 100644 --- a/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md +++ b/docs/en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md @@ -470,9 +470,9 @@ $players = Player::get()->exclude('FirstName', 'Sam'); Remove both Sam and Sig.. ```php -$players = Player::get()->exclude( +$players = Player::get()->exclude([ 'FirstName' => ['Sam','Sig'] -); +]); ``` `Exclude` follows the same pattern as filter, so for removing only Sam Minnée from the list: