I am trying to create a blog posting website in appwrite, I am having issue in that
- 0
- Databases
- Web
- Cloud
I am trying to create a blog website, in that I am having categories, categories is a different collection and blogs having different collection, I want to get blogs on the catgories basis , as I am trying to create a filter this is collection for categories and blogs
I am getting this while I call posts [ { "title": "post 1", "content": "asdf dsfasd fsdf sfsdaf sdfsa dsfsad fsdafs dafsadf sf sdfasfsa fsdf safas", "$id": "676d7ebe0018ac3cd99f", "$createdAt": "2024-12-26T16:05:18.820+00:00", "$updatedAt": "2024-12-26T16:05:18.820+00:00", "$permissions": [], "cat": [ { "name": "bootstrap", "$id": "676d7d990037e790e966", "$createdAt": "2024-12-26T16:00:26.292+00:00", "$updatedAt": "2024-12-26T16:00:26.292+00:00", "$permissions": [], "$databaseId": "676d06010009cae63ccc", "$collectionId": "676d7d6b001146714f74" } ], "$databaseId": "676d06010009cae63ccc", "$collectionId": "676d7cfb0023161fc848" },
]
now, How I can filter data on the basis of categories
just querry categories...$
like get the document which represents the categorie and you get all the related blogs? @Ashish
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...
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!
- 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.. ...