mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 23:09:10 +08:00
Add alias syntax to joinWith(), e.g. joinWith('author a').
No need to know the table name for defining an alias for the relation.
fixes #2377, alternative to #8788, which allows later implementation of
getting alias and column name ambiguation.
depends on #10813 to be merged first.
Yii PHP Framework Version 2
This is the core framework code of Yii 2.
This repository is a read-only git subsplit of https://github.com/yiisoft/yii2. Please submit issue reports and pull requests to the main repository. For license information check the LICENSE-file.
Installation
The preferred way to install the Yii framework is through composer.
Either run
composer global require "fxp/composer-asset-plugin:~1.1.1"
composer require yiisoft/yii2
or add
"yiisoft/yii2": "~2.0.0",
to the require section of your composer.json.