mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-25 02:31:59 -05:00
no issue - bookshelf adds `DISTINCT` to any relation query that does not have an explicit `columns` statement - when measuring the impact of `DISTINCT` on the eager-loading association query when listing members using `{withRelated: 'labels'}`, it can be 2x slower with no index on the sort_order column or 4x slower with an index on sort_order |
||
---|---|---|
.. | ||
client@d8c6e74066 | ||
frontend | ||
server | ||
shared | ||
index.js |