mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-02 21:41:19 +08:00
Fix typo in db-active-record.md (#17317) [skip ci]
This commit is contained in:
committed by
Alexander Makarov
parent
30e10837ba
commit
7e05e956b3
@ -1241,7 +1241,7 @@ Note that this differs from our earlier example which only brings back customers
|
|||||||
|
|
||||||
#### Relation table aliases <span id="relation-table-aliases"></span>
|
#### Relation table aliases <span id="relation-table-aliases"></span>
|
||||||
|
|
||||||
As noted before, when using JOIN in a query, we need to disambiguate column names. Therefor often an alias is
|
As noted before, when using JOIN in a query, we need to disambiguate column names. Therefore often an alias is
|
||||||
defined for a table. Setting an alias for the relational query would be possible by customizing the relation query in the following way:
|
defined for a table. Setting an alias for the relational query would be possible by customizing the relation query in the following way:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
|
|||||||
Reference in New Issue
Block a user