In Cloud function how can i join from another collection to get data?

前端 未结 3 1534
旧巷少年郎
旧巷少年郎 2021-01-26 04:34

I am using Cloud Function to send a notification to mobile device. I have two collection in Firestore clientDetail and clientPersonalDetail. I have

3条回答
  •  北恋
    北恋 (楼主)
    2021-01-26 05:28

    The "easier" solution would probably be the duplication of data. This is quite common in NoSQL world.

    More precisely you would add in your documents in the ClientDetail collection the value of the client name.

提交回复
热议问题