Since we have learned about the SAP Commerce Type System and the items.xml file, it’s useful to extend your understanding of two generic types: collection and relations. They can be used to support multivalue attributes.
- Collections can contain multiple elements of the same type and are appropriate when the number of elements is minimal.
- Relations offer better performance, and allow you to model one-to-many, many-to-one, and many-to-many relationships.
Let’s discover more in the following video.