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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...