Linked Questions
282 questions linked to/from Firebase query if child of child contains a value
1 vote
1 answer
3k views
Firebase querying List<String> "contains" value [duplicate]
{ "SHOPPING_LIST" : { "kPLZpp809gePpBiBojsngjZdg6A3:228c1e5b-fe11-4f06-ad32-c54734044a5e" : { "listId" : "kPLZpp809gePpBiBojsngjZdg6A3:228c1e5b-fe11-4f06-ad32-c54734044a5e", "...
0 votes
1 answer
2k views
Querying array from Firebase (React Native) [duplicate]
I'm new to react-native and firebase, and I am building an app. I stumble upon a problem using "array" in firebase (i know that firebase doesn't work with array), but I want to know if there is some ...
0 votes
1 answer
2k views
How to structure a recipe database in firebase? [duplicate]
I am making an app that get the ingredients than displays the recipes that can be made from those ingredients.The recipes will be stored in fire-base. The structure that i am thinking of going with ...
1 vote
2 answers
1k views
Firebase Realtime database Array query issue [duplicate]
I need a firebase query to filter the list based on the value of an array. if any of the index of GID(Array) contains the given key. e.g my key is YsGMyfLSGRNHxDWQmhpuPRqtxlq1 and one node's GID have ...
1 vote
1 answer
568 views
How to update denormalized data in firebase realtime database [duplicate]
I'm creating a recipes app just to learn Vue and Firebase Realtime Database. This is the recipe structure: { "name": "Stackoverflow shake", "description": ""...
-1 votes
1 answer
682 views
How to find child node with equalTo query in Firebase with Swift? [duplicate]
I have the following Firebase hierarchy. How can I write a query which finds the child where the value is 1 AND I don't know that it is under the node V9T3cEgEGPRmIkMQb32hxa5gG7L2? In this case, I ...
0 votes
0 answers
524 views
Firebase realtime database group chat structure query by id [duplicate]
I am trying to structure a firebase realtime database for group and personal chat app. What I wanted to achieve is after user successfully logged in, they will see a list of message they have sent to ...
0 votes
0 answers
518 views
Firebase Realtime Database querying nested data [duplicate]
I am making a clone of Trello I am trying to figure out what the best way is to get a list of all the boards that the current user is a member in. First i thought ill have a collection like "...
0 votes
0 answers
398 views
How to Query for getting data of Child from firebase Realtime Database [duplicate]
I want to get the data under machine and the path is like this Users then Mobile Number then Machine and i want to get the child of the machine then match that data from the localstore if both match i ...
0 votes
1 answer
400 views
How to compare a userId inside an array with another userId in Flutter Firebase Realtime Database? [duplicate]
I use this future. future: firebase.FirebaseDatabase.instance .reference() .child("group") .orderByChild('userId') .onValue .contains(userID), ScreenShot of ...
0 votes
0 answers
307 views
How to index firebase realtime database on uid? [duplicate]
I want to .indexOn userId which is not static. My realtime database structure looks like this: posts: { content: "Lorem Ipsum" likes: 26, comments: { userId1: true, userId2: ...
0 votes
0 answers
273 views
Firebase .indexOn dynamic keys in object [duplicate]
I'm trying to user firebase realtime database and facing now warning message I can't solved it Using an unspecified index. Your data will be downloaded and filtered on the client. Consider adding '&...
0 votes
0 answers
267 views
firebase query for spinner on item selected [duplicate]
I have 2 spinners ,for services and employees. in my app i want to let user choose list of services then i fill the employee spinner only for employee who available for that service i have ...
1 vote
1 answer
167 views
Firebase Realtime Database: queryOrdered and queryEqual snapshot does not run [duplicate]
I am trying to increment unseenMessage by 1 everywhere everywhere the groupName is the same. The code I currently have returns a null snapshot back. Database Structure Notifications user1 group1 ...
0 votes
1 answer
256 views
Firebase query with startAt [duplicate]
This is my code firebase.database().ref().child('Users').orderByChild('interest'). startAt('cat').endAt('cat'+'\uf8ff'). on('value',snap=>{ console.log(snap.val()) }) my code is that way but ...