I have created collection in database, let's assume the collection name is "category", this category will contain id, name and List<Post>. Now when I'm querying it from client side, it is giving me all the posts lies in the specific category. For example, If category1 contains 8 posts, it returns all 8, instead I want paging capability like I can control the limits of number of posts.
val listDocument = database.listDocuments(
databaseId = DATABASE_ID,
collectionId = CATEGORY_COLLECTION
)
I don't found in the documentation related to this. Can anyone please suggest any approach? Thank you
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.. ...