
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
- Database DeleteDocuments triggered via D...
Running self hosted 1.7.4. Have a dart cleanup function that deletes stale documents from a collection. Recently updated the function to use DeleteDocuments ins...
- Blob column?
Hi, I'm looking to use yjs/hocuspocus, and appwrite as the backend store, but I'm not finding a way to create a blob column in the database. Is there a way arou...
- Runtime secret not found. Please re-crea...
Functions aren't working for my project suddenly, They worked fine for the past few weeks and were also working 15-20 minutes ago.
