ntesic
ntesic
Seems Oracle require different notation for aliases, with 32 chars limit
@Insolita This could be possible with my changes introduced in #19137 So it would look like this: ``` class Document extends ActiveRecord { public function getDuplicates() { return $this->hasMany(Document::class, ['filehash'...
I am aware of all previous issues regarding this matter. Just need to sort some things out, and will make PR. So far, with this changes, which make mention queries,...
@simialbi in that case it would be: ``` $query = Employee::find()->joinWith(['company.projects']); $query->andWhere(['id' => [1,2,3]])->orderBy([$query->getRelationColumn('projects', 'id') => SORT_DESC])->all(); ``` Query: ``` SELECT `employee`.* FROM `employee` LEFT JOIN `company` `Employee` ON `employee`.`company_id`...
yes, of course you need to get relation columns manually, but not need to worry about alias, since even now you need to set alias manually and also to include...
Is there any limitations or what? Why can't be implemented?