Skip to content

Difference between back-relation expand vs expanding using an explicitly set relation Id #3694

Discussion options

You must be logged in to vote

I haven't benchmarked this particular case, but I don't expect the performance to differ that much because the back-relation expansion query execution is very similar to the direct relation expand (mainly there is an extra regex parsing on app level to separate the collection name and field).

I'm not sure what to recommend as it would depend on how you want to structure your data, but personally I would go with whatever is more easy to work and maintain. I'm currently heavily using back-relation expand in one of my other projects (Presentator) where some of the relations are from large datasets with more than 200k-400k+ records and so far I haven't stumbled on anything to make me reconsid…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by silenceofthewans
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants