Quality
Hi, I think it would be very valuable to provide users with examples of database modeling for NoSQL like Appwrite.
It would be further appreciated to know whether data duplication is necessary to avoid listDocuments vs getDocument.
Eg:
Collection: Posts
postId: string
postContent: string
images?: string [] (imageIds?)
Collection: Images
imageId: string
imageUrl: Url
postId: string
So either we query all images for the post via listDocuments or we have an images key in each post that has the imageIds that the post has which would enable us to have getDocument but increases complexity by having data duplication/reciprocal design.
So my question is more of a request to have more info on what is recommended or what to consider when designing database schemas for appwrite.
Kindly