Files
payload/packages/db-mongodb/src
Sasha f4041ce6e2 fix(db-mongodb): joins with singular collection name (#8933)
### What?
Properly specifies `$lookup.from` when the collection name is singular.

### Why?
MongoDB can pluralize the collection name and so can be different for
singular ones.

### How?
Uses the collection name from the driver directly
`adapter.collections[slug].collection.name` instead of just `slug`.
2024-10-30 12:06:03 -04:00
..
2024-09-20 11:10:16 -04:00
2024-09-20 11:10:16 -04:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-09-20 11:10:16 -04:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-10-29 21:47:18 +00:00
2024-09-20 11:10:16 -04:00