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
- Issue with relations on database
I'm creating a food ordering website for businesses. I'm having issues with the relations on my database I attached the attributes for the collections I'm hav...
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems