Back

Need help in database

  • 0
  • Databases
  • React Native
Prankur Pandey
9 Aug, 2024, 12:06

I want to store some of my values in array of object format in appwrite database after searching a lot I didn't find any solution yet therefore reaching here ,I am building a community mobile app

TL;DR
Developers need to store values in array of object format in Appwrite database using string attribute. One solution is to make it an array, stringify the object, and save it. For updates, fetch the array, parse it, add a new object, stringify it, and update it.
darShan
9 Aug, 2024, 12:09

string attribute > make it array > stringify your object > save it. for update: fetch the array, parse it, add new object, stringify it > update it.

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