which attribute to choose for storing array of objects.
TL;DR
To store an array of objects, developers can either stringify the object and store it as a string, or split the array items and store them as an array. The choice of attribute depends on the specific requirements of the project.
Darshan Pandya
3 Jan, 2025, 06:08
You can use string, stringify your object. or split the array items and mark the string attribute as array.