Firestore query using an object element as parameter

后端 未结 4 620

i\'m using Firestore as my database in a project and i have a table that i need to do a query inside an object

{
   foo: "data",
   bar: "data&         


        
4条回答
  •  清歌不尽
    2020-12-10 15:32

    dbRef.collection("Table").where("exObject.dataToQuery", "==", "value")
    

    this syntax i first posted is indeed the good syntax and started working eventually. I'd class the reason of my problem as a typo that i must have corrected trying a lot of different things

提交回复
热议问题