startAfterDocument with arraycontains #6614
Answered
by
hemanthkb97
hemanthkb97
asked this question in
Q&A
-
but startAfterDocumen not working |
Beta Was this translation helpful? Give feedback.
Answered by
hemanthkb97
Jul 15, 2021
Replies: 1 comment
-
FirebaseFirestore.instance it works when i do like this but does work like that dont know why |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hemanthkb97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FirebaseFirestore.instance
.collection("doctors")
.where("searchlist",
arrayContainsAny:
query.split(" ").map((e) => e.toLowerCase().trim()).toList())
.startAfterDocument(lastdocumentdoc!)
.limit(1)
it works when i do like this but does work like that dont know why