Back

Need some help with Relationship Collection

  • 0
  • General
PaoloLee
13 Mar, 2024, 16:24

Hi there! I need some guidance to create the DB based on the JSON shown in the attachment.

I have create the DB "VIT_DB",

Collections: TOURS_BANGKOK" "LANGUAGES" which old and array o strings "ITINERARY_STEPS" which is an array of object

If I understand I have to create a new attribute Relationship inside the TOURS_BANGKOK for both of collection LANGUAGES and ITINERARY_STEPS, correct?

I kindly ask anybody here to help me. I am not really good with the Backend at all.

TL;DR
Developer needs help creating a DB based on JSON attachment. They have "VIT_DB" with collections "TOURS_BANGKOK", "LANGUAGES" (array of strings), and "ITINERARY_STEPS" (array of objects). They need to add a new attribute "Relationship" in "TOURS_BANGKOK" for both "LANGUAGES" and "ITINERARY_STEPS".
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