
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
- Bypass Error When Creating Account With ...
Suppose user first uses email/pass for log in using xyz@gmail.com, few month later on decides to use google oauth2 with same xyz@gmail.com (or in reverse orde...
- dart function very slow
sometimes waiting too long, about 3mins to 5mins, sometimes very fast, not build time, just execute, anyway to speed up?
- wrong code for google oauth2 ?
gives User (role: guests) missing scope (account) error
