Firebase: Firestore Query for Longest Match
Clash Royale CLAN TAG#URR8PPP
Firebase: Firestore Query for Longest Match
My document looks like:
ABC: 1
ABCD: 2
ABCDE: 3
ABCDEF: 4
I want to query for longest match, in other words, myVar = ABCDEFGHIJ
and I want the field with value 4
(the longest match).
myVar = ABCDEFGHIJ
4
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.