"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/ORM/Association/Loader/SelectWithPivotLoader.php" between
cakephp-4.0.1.tar.gz and cakephp-4.0.2.tar.gz

About: CakePHP is a rapid development framework for PHP applications. Source code.

SelectWithPivotLoader.php  (cakephp-4.0.1):SelectWithPivotLoader.php  (cakephp-4.0.2)
skipping to change at line 134 skipping to change at line 134
'aliasPath' => $assoc->getAlias(), 'aliasPath' => $assoc->getAlias(),
'includeFields' => false, 'includeFields' => false,
'propertyPath' => $this->junctionProperty, 'propertyPath' => $this->junctionProperty,
]); ]);
$query->getTypeMap()->addDefaults($types); $query->getTypeMap()->addDefaults($types);
return $query; return $query;
} }
/** /**
* @inheritDoc
*/
protected function _assertFieldsPresent(Query $fetchQuery, array $key): void
{
// _buildQuery() manually adds in required fields from junction table
}
/**
* Generates a string used as a table field that contains the values upon * Generates a string used as a table field that contains the values upon
* which the filter should be applied * which the filter should be applied
* *
* @param array $options the options to use for getting the link field. * @param array $options the options to use for getting the link field.
* @return string|string[] * @return string|string[]
*/ */
protected function _linkField(array $options) protected function _linkField(array $options)
{ {
$links = []; $links = [];
$name = $this->junctionAssociationName; $name = $this->junctionAssociationName;
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)