Back

How to to store array of object?

  • 0
  • General
  • Databases
  • Cloud
KINGKabir👑
3 Jan, 2025, 06:06

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.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more