Skip to content

Commit

Permalink
docs/guide/db-active-record.md typo fix (yiisoft#13335) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
softark authored and samdark committed Jan 6, 2017
1 parent 4f59ec2 commit 8e12383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/db-active-record.md
Original file line number Diff line number Diff line change
Expand Up @@ -1610,7 +1610,7 @@ class Customer extends \yii\db\ActiveRecord
With this code, in case 'ordersCount' is present in 'select' statement - `Customer::ordersCount` will be populated
by query results, otherwise it will be calculated on demand using `Customer::orders` relation.

This approach can be as well used for creation of the shortcuts for the some relational data, especially for the aggregation.
This approach can be as well used for creation of the shortcuts for some relational data, especially for the aggregation.
For example:

```php
Expand Down

0 comments on commit 8e12383

Please sign in to comment.