Reputation: 317702
If I have a Firestore document with a field of type "reference", how do I read and write that field when using automatic POJO Java object serialization?
Upvotes: 3
Views: 1043
Reputation: 317702
POJO fields of type DocumentReference and CollectionReference will automatically be populated with document and collection reference type fields from a Firestore document.
Upvotes: 4