File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
addons/godot-firebase/firestore Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ func query(query : FirestoreQuery) -> Array:
105105 var task : FirestoreTask = FirestoreTask .new ()
106106 task .action = FirestoreTask .Task .TASK_QUERY
107107 var body : Dictionary = { structuredQuery = query .query }
108- var url : String = _base_url + _extended_url + _query_suffix
108+ var url : String = _base_url + _extended_url + query . sub_collection_path + _query_suffix
109109
110110 task .data = query
111111 task ._fields = JSON .stringify (body )
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ const TEMPLATE_QUERY: Dictionary = {
3232
3333var query : Dictionary = {}
3434var aggregations : Array [Dictionary ] = []
35+ var sub_collection_path : String = ""
3536
3637enum OPERATOR {
3738 # Standard operators
You can’t perform that action at this time.
0 commit comments