GH-2669 - Don't query for internally generated id.
This is unnecessary because the property itself won't exist in this case, but only id(node). More visible now because Neo4j 5+ logs unknown property querying. Closes #2669
This commit is contained in:
@@ -735,6 +735,10 @@ public enum CypherGenerator {
|
||||
continue;
|
||||
}
|
||||
|
||||
// ignore internally generated id fields
|
||||
if (graphProperty.isIdProperty() && (nodeDescription.getIdDescription() != null && nodeDescription.getIdDescription().isInternallyGeneratedId())) {
|
||||
continue;
|
||||
}
|
||||
nodePropertiesProjection.add(graphProperty.getPropertyName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user