PPlusFireStore.Model.Document (pplus_firestore v0.1.2)
View SourceStruct adapted from the Google Firestore API Document model
Fields
- path: The resource name of the document. For example:
projects/{project_id}/databases/{database_id}/documents/{document_path}
- data: The document fields and values. For example:
%{"author" => "John Doe"}
- created_at: The time at which the document was created. Automatically set by Firestore.
- updated_at: The time at which the document was last updated. Automatically set by Firestore.
Summary
Types
@type t() :: %PPlusFireStore.Model.Document{ created_at: DateTime.t(), data: map(), path: String.t(), updated_at: DateTime.t() }