Firestore document references, can you expand the document server side?

落爺英雄遲暮 提交于 2019-12-10 17:55:41

问题


According to this What is firestore Reference data type good for?. Currently it looks like you have to do a round trip to fetch the data for each document reference in your original query.

Is this on the roadmap to do this expand/aggregation in the cloud?


回答1:


You are correct, a GraphQL style server-side expansion of references is not possible in Cloud Firestore.

Completely understand the desire, however this is not currently on our roadmap to support.



来源:https://stackoverflow.com/questions/47100446/firestore-document-references-can-you-expand-the-document-server-side

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!