Please help with query.where #432
-
Godot Version 4.2.2 Note: I'm not good at reading documentation yet so i might have made an obvious error I'm using Firestroe to store different "games" that are scouted. I want to be able to get all of the documents that were scouted on the same team. My query doesn't work when I add:
Below is the full code of my script that does the querying and pictures of my firebase are also attached ` @onready var team_num_input: LineEdit = $PanelContainer/MarginContainer/VBoxContainer/TeamNum var team_num func _ready():
func _on_back_pressed(): func _on_search_pressed():
func check_false_search():
` |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
There must be a bug somewhere in there. I'll see if I can look into it at some point maybe next week, but I dunno. |
Beta Was this translation helpful? Give feedback.
-
It worked! Thank you so much, this means so much to me because this was a big project for a school club. And while I don't think you need to know this, it was not the "default" collection that was the one that holds my data, it is my "test2024" collection and that change made it work. |
Beta Was this translation helpful? Give feedback.
I haven't really had a chance to look at it. However, I did realize it might just be an issue with your setup of Firebase itself (in the Firebase console). Here is something to try to make this work for yourself, without having to update your code anymore than you already have (per the above):