如果我有一个带有“引用”类型字段的 Firestore 文档,我该如何在使用自动 POJO Java 对象序列化时读取和写入该字段?
最佳答案
类型为 DocumentReference 的 POJO 字段和 CollectionReference将自动填充 document and collection reference type fields来自 Firestore 文档。
关于java - 使用 Firestore,如何使用 java 类序列化文档中的引用类型字段?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49225103/