Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
JanTvrdik committed Oct 10, 2024
1 parent 85a24ae commit 60254f3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@

## Comparison

| | Unoptimized | Manual Preload | Fetch Join | setFetchMode | EntityPreloader |
|------------------------------------------------------------------------|-------------|--------------------------|-------------------------------|--------------|------------------------------------|
| [OneToMany](tests/EntityPreloadBlogOneHasManyTest.php) | 1 + n | impossible in Doctrine 3 | 1, but<br>with duplicate rows | 1 + 1 | 1 + 1 |
| [OneToManyDeep](tests/EntityPreloadBlogOneHasManyDeepTest.php) | 1 + n + n² | impossible in Doctrine 3 | 1, but<br>with duplicate rows | 1 + 1 + n² | 1 + 1 + 1 |
| [OneToManyAbstract](tests/EntityPreloadBlogOneHasManyAbstractTest.php) | 1 + n + n² | impossible in Doctrine 3 | 1, but<br>with duplicate rows | 1 + 1 + n² | 1 + 1 + 1<br>(with duplicate rows) |
| [ManyToOne](tests/EntityPreloadBlogManyHasOneTest.php) | 1 + n | 1 + 1 | 1, but<br>with duplicate rows | 1 + 1 | 1 + 1 |
| [ManyToOneDeep](tests/EntityPreloadBlogManyHasOneDeepTest.php) | 1 + n + n | 1 + 1 + 1 | 1, but<br>with duplicate rows | 1 + 1 + n | 1 + 1 + 1 |
| [ManyToMany](tests/EntityPreloadBlogManyHasManyTest.php) | 1 + n | impossible in Doctrine 3 | 1, but<br>with duplicate rows | 1 + 1 | 1 + 1 |
| | Unoptimized | Manual Preload | Fetch Join | setFetchMode | EntityPreloader |
|------------------------------------------------------------------------|-------------|--------------------------|------------------------|--------------|--------------------------------|
| [OneToMany](tests/EntityPreloadBlogOneHasManyTest.php) | 1 + n | impossible in Doctrine 3 | 1, but duplicates rows | 1 + 1 | 1 + 1 |
| [OneToManyDeep](tests/EntityPreloadBlogOneHasManyDeepTest.php) | 1 + n + n² | impossible in Doctrine 3 | 1, but duplicates rows | 1 + 1 + n² | 1 + 1 + 1 |
| [OneToManyAbstract](tests/EntityPreloadBlogOneHasManyAbstractTest.php) | 1 + n + n² | impossible in Doctrine 3 | 1, but duplicates rows | 1 + 1 + n² | 1 + 1 + 1, but duplicates rows |
| [ManyToOne](tests/EntityPreloadBlogManyHasOneTest.php) | 1 + n | 1 + 1 | 1, but duplicates rows | 1 + 1 | 1 + 1 |
| [ManyToOneDeep](tests/EntityPreloadBlogManyHasOneDeepTest.php) | 1 + n + n | 1 + 1 + 1 | 1, but duplicates rows | 1 + 1 + n | 1 + 1 + 1 |
| [ManyToMany](tests/EntityPreloadBlogManyHasManyTest.php) | 1 + n | impossible in Doctrine 3 | 1, but duplicates rows | 1 + 1 | 1 + 1 |


## Installation
Expand Down

0 comments on commit 60254f3

Please sign in to comment.