When structuring data in Appwrite DBs, is it generally recommended to plan for normalization or denormalization?
As in, should I have a single source of truth for all entities and effectively join data when querying? Or should I add redundant copies of data where it makes sense and just reference the duplicated data in my UI?
Only depends of your needs, appwrite is just a tool
Appwrite use a SQL database, with join capacibilities. you can work with or without
I usually normalize
Okay thanks @Bouahaza and @Steven, I was writing it in a normalized fashion to begin with so this is good news 🙂
@Bouahaza do you happen to know if the join capabilities are documented anywhere?
Take a look : https://appwrite.io/docs/databases-relationships
Oh wow thank you @Bouahaza! Not sure how I missed this 😅
Recommended threads
- Seed db
hello there... is this correct way to seed appwrite
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...