Hi. Right now i am creating a small db for my pet project and i need to create a collection of my "products". In each of products i need an array +w some objects, but when i try to add an atribute i have to choose type of it, and i don't see an array, only string->array or int->array. Help me)
you said that with some objects? which means your object has properties like color, size, and etc? If this correct I prefer to use relationship attributes and this must be a One to many
A product can contain a many object while object must belong to one product. This makes an array for your relationship
Yes, thanks, it looks like I wanted it to. I will definitely try it today
Recommended threads
- The console isnt showing documents
In console ui saved documents are being shown on frontend but i can see its showing 4 or number of docs available but in rows its only showing single doc and th...
- 1.8.1 - Databases - inline updating a ro...
When updating a database field via the inline edit method, the `$updatedAt` column does not get updated. Only if the row is updated by the "Update" interface (t...
- Other DateTime Columns Are Saved Incorre...
When opening a rowβs details from the console and editing any field, the timestamps of other DateTime columns are being automatically changed and incorrectly sa...