Skip to content

startAfterDocument with arraycontains #6614

Answered by hemanthkb97
hemanthkb97 asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hemanthkb97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant