Thanks to visit codestin.com
Credit goes to github.com

Skip to content

More precisely document the performance impact of to-one associations towards inheritance hierarchies#10539

Merged
greg0ire merged 1 commit into
doctrine:2.14.xfrom
mpdude:performance-to-one-inheritance
Mar 8, 2023
Merged

More precisely document the performance impact of to-one associations towards inheritance hierarchies#10539
greg0ire merged 1 commit into
doctrine:2.14.xfrom
mpdude:performance-to-one-inheritance

Conversation

@mpdude
Copy link
Copy Markdown
Contributor

@mpdude mpdude commented Feb 24, 2023

This puts the remarks that apply to both JTI/STI in a common section at the beginning, and tries to explain a bit more in detail why it is that way.

It was sparked off by the discussion in #10538.

@mpdude
Copy link
Copy Markdown
Contributor Author

mpdude commented Feb 25, 2023

@SanderBoelaars does this currently take one extra database query for every single row that is hydrated?

@mpdude
Copy link
Copy Markdown
Contributor Author

mpdude commented Mar 7, 2023

@greg0ire A small documentation update, maybe something you could review?

Comment thread docs/en/reference/inheritance-mapping.rst Outdated
… towards inheritance hierarchies

This puts the remarks that apply to both JTI/STI in a common section at the beginning, and tries to explain a bit more in detail why it is that way.

It was sparked off by the discussion in doctrine#10538.
@mpdude mpdude force-pushed the performance-to-one-inheritance branch from 3692b91 to 7c2adde Compare March 8, 2023 17:28
@greg0ire greg0ire modified the milestones: 3.0.0, 2.14.2 Mar 8, 2023
@greg0ire greg0ire merged commit 6db296c into doctrine:2.14.x Mar 8, 2023
@greg0ire
Copy link
Copy Markdown
Member

greg0ire commented Mar 8, 2023

Thanks @mpdude !

@mpdude mpdude deleted the performance-to-one-inheritance branch March 9, 2023 06:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants