3 ms·
Speaking of data structures, I am curious what you guys think of the Entity Attribute Value model. I worked on an e-commerce "platform" that used EAV and I alw
by mcny 2y ago
Speaking of data structures, I am curious what you guys think of the Entity Attribute Value model.
I worked on an e-commerce "platform" that used EAV and I always struggled to write queries to find anything I needed.
https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80...
- hipadev23 2y agoIt’s basically the standard. How else do you add arbitrary key/values to entities? You either normalize into EAV, Map column, or a pair of Array columns.