How I can get all collection with level==2
and status==on
, order by count?
And limit only the first collection that I can get. And how can i get the collection value? I need to get the collection and store it since I need it for other function.
I already read Firestore documentation a few times now, but I still cant find the way to do this.
How i can get all collection with level==2 and status=="on", order by count?
You cannot get all collections, you can get all documents with that constraint within that collection. The query that you are looking for is:
db.collection("User").whereEqualTo("level", 2).whereEqualTo("status", true).limit(1);
But rememeber, everytime you are using such a query, an index is required. For that, please see my answer from the following post:
Firebase Cloud Functions: PubSub, "res.on is not a function"
TypeError: Cannot read properties of undefined (reading 'createMessageComponentCollector')
I'm developing an android app with Unity that requires a foreground serviceTo do that I've made an android module with android studio
It sucks when something doesn't work and stacktrace is unclear!
I am trying to add filters on captured videos like MI default filtersI have already gone through https://github
I am making an app which includes a real-time widget and I want to provide a feature to the users to run that widget always in the foreground