Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public CollectionReference getACollectionRef() {
*/
public DocumentReference getADocumentRef() {
// [START fs_document_ref]
// Reference to a document with id "alovelace" in the collection "employees"
// Reference to a document with id "alovelace" in the collection "users"
DocumentReference document = db.collection("users").document("alovelace");
// [END fs_document_ref]
return document;
Expand All @@ -62,7 +62,7 @@ public DocumentReference getADocumentRef() {
*/
public DocumentReference getADocumentRefUsingPath() {
// [START fs_document_path_ref]
// Reference to a document with id "alovelace" in the collection "employees"
// Reference to a document with id "alovelace" in the collection "users"
DocumentReference document = db.document("users/alovelace");
// [END fs_document_path_ref]
return document;
Expand Down