#Create a special array

3 messages · Page 1 of 1 (latest)

craggy thicket
#

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)

lofty wing
#

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