Skip to content

Update default eager loading strategy to subquery#8249

Merged
ADmad merged 2 commits into5.nextfrom
docs-strategy-default-change
Mar 23, 2026
Merged

Update default eager loading strategy to subquery#8249
ADmad merged 2 commits into5.nextfrom
docs-strategy-default-change

Conversation

@dereuromark
Copy link
Member

Summary

  • Document the change from select to subquery as the default eager loading strategy for HasMany and BelongsToMany associations
  • Update the 5.4 migration guide with the behavior change
  • Update associations documentation to reflect new defaults
  • Swap SQL example order to show subquery (now default) first

Refs cakephp/cakephp#19345

Document the change from 'select' to 'subquery' as the default eager
loading strategy for HasMany and BelongsToMany associations.

Refs cakephp/cakephp#19345
@dereuromark dereuromark added this to the 5.next milestone Mar 17, 2026
@ADmad ADmad merged commit 1b6d702 into 5.next Mar 23, 2026
5 checks passed
@ADmad ADmad deleted the docs-strategy-default-change branch March 23, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants