File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
firestore/src/main/java/com/example/firestore/snippets Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public CollectionReference getACollectionRef() {
49
49
*/
50
50
public DocumentReference getADocumentRef () {
51
51
// [START fs_document_ref]
52
- // Reference to a document with id "alovelace" in the collection "employees "
52
+ // Reference to a document with id "alovelace" in the collection "users "
53
53
DocumentReference document = db .collection ("users" ).document ("alovelace" );
54
54
// [END fs_document_ref]
55
55
return document ;
@@ -62,7 +62,7 @@ public DocumentReference getADocumentRef() {
62
62
*/
63
63
public DocumentReference getADocumentRefUsingPath () {
64
64
// [START fs_document_path_ref]
65
- // Reference to a document with id "alovelace" in the collection "employees "
65
+ // Reference to a document with id "alovelace" in the collection "users "
66
66
DocumentReference document = db .document ("users/alovelace" );
67
67
// [END fs_document_path_ref]
68
68
return document ;
You can’t perform that action at this time.
0 commit comments