Hello. For example:
1John Doe[email protected]Male["/media/profile_images/user_1/profile_image_0_1724535732998.jpg", null, null, null, null, null, null, null, null]["lesson1", "lesson2", "lesson3", "lesson4"]
As in the example above "["lesson", "lesson", "lesson", "lesson"]" let me talk through this example. When we want to store data such as lists, objects, etc. in a database, should we store it as an array or object, or should we store it as a JSON string? Or should we use a structure like a hashtable? I know that arrays and objects are usually not stored as they are in databases, so storing them as JSON strings seems more logical. How should data be stored professionally? Thank you.
1John Doe[email protected]Male["/media/profile_images/user_1/profile_image_0_1724535732998.jpg", null, null, null, null, null, null, null, null]["lesson1", "lesson2", "lesson3", "lesson4"]
As in the example above "["lesson", "lesson", "lesson", "lesson"]" let me talk through this example. When we want to store data such as lists, objects, etc. in a database, should we store it as an array or object, or should we store it as a JSON string? Or should we use a structure like a hashtable? I know that arrays and objects are usually not stored as they are in databases, so storing them as JSON strings seems more logical. How should data be stored professionally? Thank you.