Skip to content

Create translation #6488

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 47 commits into
base: dev
Choose a base branch
from
Open

Create translation #6488

wants to merge 47 commits into from

Conversation

angrykoala
Copy link
Member

Description

Change create operations to use the new translation layer, making the cypher more consistent and opening up more performant queries.

This PR also fixes the format of time and spatial input types

angrykoala and others added 30 commits June 18, 2025 11:04
…oExpress/graphql into support-multiple-inputs-on-create
…on-create

WIP create with multiple inputs
Copy link

changeset-bot bot commented Jul 15, 2025

🦋 Changeset detected

Latest commit: 9975fa4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@neo4j/graphql Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@neo4j-team-graphql
Copy link
Collaborator

neo4j-team-graphql commented Jul 15, 2025

Performance Report

No Performance Changes

Show Full Table
name dbHits old dbHits time (ms) old time (ms) maxRows
aggregations.TopLevelAggregateWithMultipleFields 7936 7936 59 73 1134
aggregations.NestedAggregation 15407 15407 69 92 2174
aggregations.AggregationWithWhere 10833 10833 53 76 2174
aggregations.AggregationWhereWithinNestedRelationships 20097917 20097917 1943 2036 2008534
aggregations.AggregationWhereWithinNestedConnections 20097917 20097917 2013 1970 2008534
aggregations.InterfacesAggregations 8324 8324 104 128 2080
aggregations.InterfacesAggregationsWithTwoFields 13526 13526 118 165 2080
connections.Connection 12951 12951 69 98 2174
connections.NestedConnection 37705 37705 129 150 4516
cypher-directive-mutation.TopLevelMutationDirective 1135 1135 25 28 1134
cypher-directive.TopLevelSortWithCypher 12961 12961 45 54 2174
cypher-directive.TopLevelConnectionSortWithCypher 12961 12961 62 75 2174
cypher-directive.TopLevelSortWithCypherWithNested 13096 13096 57 84 2174
cypher-directive.TopLevelConnectionSortWithCypherWithNested 13096 13096 99 132 2174
cypher-directive.TopLevelSortWithExpensiveCypher 13725 13725 107 147 2174
cypher-directive.TopLevelConnectionSortWithExpensiveCypher 13266 13266 102 150 2174
fulltext.Fulltext 80 80 47 53 16
fulltext.FulltextWithNestedQuery 516 516 65 84 84
1262.NestedConnectionWhere 8703 8703 59 69 2174
187.QueryWhere 8564 8564 41 42 2154
2871.NestedRelationshipFilter 19632 19632 59 70 4395
batch-create.BatchCreate 3600 3600 81 111 600
connect.createAndConnect 4410 4411 48 117 1134
create.SimpleMutation 6 6 35 33 1
delete.SimpleDelete 19401 19401 609 613 1040
delete.NestedDeleteInUpdate 14688 14688 109 138 1179
update.NestedUpdate 10129 10129 69 76 2002
query.SimpleQuery 3121 3121 21 23 1040
query.SimpleQueryWithRelationship 15031 15031 41 49 2174
query.SimpleQueryWithNestedWhere 8713 8713 51 63 2154
query.Nested 3988 3988 73 84 1040
query.OrFilterOnRelationships 36733 36511 151 187 1956
query.OrFilterOnRelationshipsAndNested 26722 26546 201 247 1956
query.QueryWithNestedIn 14201 14198 54 70 1867
query.DeeplyNestedConnectionWhere 8702 8702 75 100 2174
query.DeeplyNestedWithRelationshipFilters 17357 17357 129 157 1552
query.NestedWithRelationshipSingleFilters 3808 3808 146 241 1134
sorting.SortMultipleTypes 3436 3436 87 114 1040
sorting.SortMultipleTypesWithCypherWithCypher 13321 13321 98 129 2174
sorting.SortOnNestedFields 12951 12951 55 59 2174
sorting.SortDeeplyNestedFields 39785 39785 91 97 4516
sorting.ConnectionWithSort 3271 3271 71 83 1040
unions.SimpleUnionQuery 321 321 57 67 35
unions.SimpleUnionQueryWithMissingFields 293 293 56 67 35
unions.NestedUnion 309975 309975 252 302 33033
unions.NestedUnionWithMissingFields 283949 283949 245 267 33033

Old Schema Generation: 27.592s
Schema Generation: 26.431s
Old Subgraph Schema Generation: 30.381s
Subgraph Schema Generation: 30.212s

@MacondoExpress MacondoExpress marked this pull request as ready for review July 18, 2025 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants