We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 762b005 commit 5825cb6Copy full SHA for 5825cb6
google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions/Field.java
@@ -72,7 +72,7 @@ private Field(FieldPath path) {
72
@BetaApi
73
public static Field of(String path) {
74
if (path.equals(DOCUMENT_ID)) {
75
- return new Field(FieldPath.of("__path__"));
+ return new Field(FieldPath.documentId());
76
}
77
return new Field(FieldPath.fromDotSeparatedString(path));
78
0 commit comments