Back

can anyone tell me what would be the best way to store this invoice items array?

  • 0
  • Databases
  • Web
  • Cloud
justshowkat
24 Nov, 2024, 11:46

I have to store these invoice items as an array of a single invoice, and I am baffled about the best way to do it.

I don't want to create a separate product collection; I just want to store it inside the invoice collection. Is there a simple way to do it?

check out the 2 SS I provided.

At first, I thought of doing the relation with the product collection. However, my user pointed out that they need to store this separately, as they sometimes change the price and other details.

TL;DR
Developers need advice on storing invoice items within the invoice collection without creating a separate product collection. The user does not want to establish a relationship with the product collection as prices and details may change.
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