mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03:00
9dde39b2a4
refs https://github.com/TryGhost/Arch/issues/86 bookshelf-relations was generating tonnes of select queries from the posts table in order to update the relations. We've instead implemented this ourselves, so as to avoid the superfluous fetches. Working closer to the db like this is nice, and makes you think more about performance. This logic could be pulled out into a util (not bookshelf plugin) where it could be used explicitly, but with the complexity hidden, we'll see ig. |
||
---|---|---|
.. | ||
admin | ||
content | ||
members | ||
members-comments | ||
shared | ||
webmentions |