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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...
- createCollection Deprecated