3 ms·
If they are using some sort of middleware orm, which they may well be because of their model, they are most likely using an EAV[0] schema which, although flexib
by siculars 9y ago
If they are using some sort of middleware orm, which they may well be because of their model, they are most likely using an EAV[0] schema which, although flexible for writes, is horrendous for reads. The join plus pivot is a disaster on virtually any relational system.
[0]https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80...