Google Cloud Firestore database Document class
class DocumentA Firestore document constructor with document resource name.
Document(const String &name = "")Params:
name- The resource name of the document.
A Firestore document constructor with Values::Value object. See Firestore Value class and functions.
Document(const String &key, T value)Params:
-
key- The key of an object. -
value- The value of anValues::Valueobject.
Add the Values::Value object to Firestore document. See Firestore Value class and functions.
Document &add(const String &key, T value)Params:
-
key- The key of anValues::Valueobject. -
value- The value of anValues::Valueobject.
Set the document resource name.
void setName(const String &name)Params:
name- The resource name of the document.