diff --git a/framework/UPGRADE.md b/framework/UPGRADE.md index 5de3c9eb7b6..fb257b32f68 100644 --- a/framework/UPGRADE.md +++ b/framework/UPGRADE.md @@ -88,6 +88,7 @@ $command->insert( ], )->execute(); +// Read all products $records = $db->createCommand('SELECT * FROM product')->queryAll(); ```