Skip to content

Commit 7bc95e2

Browse files
remove connectOrCreate remaining references
1 parent 40bac1d commit 7bc95e2

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

modules/ROOT/pages/mutations/create.adoc

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,7 @@ mutation {
104104
This creates a `User` with name "John Doe" and an introductory post.
105105
Both are returned with their autogenerated IDs.
106106

107-
[NOTE]
108-
====
109-
You can perform similar and complementary actions by using the `update` mutation combined with `create`.
110-
Read about xref:mutations/update.adoc#_connectorcreate_relationships[`update`] for more information.
111-
====
107+
112108

113109
== `create` optimization
114110

@@ -118,5 +114,5 @@ However, there is a known performance issue for large batch sizes.
118114
The Neo4j GraphQL Library contains an optimization feature designed to mitigate it, but it does not work in the following scenarios:
119115

120116
* A field is populated using the directive `@populated_by`.
121-
* The `connect` or `connectOrCreate` operations are used.
117+
* The `connect` operations are used.
122118
* Interface and union types are present in the mutation.

modules/ROOT/pages/security/authentication.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ type User @authentication @node {
7474

7575
With this configuration, authentication is validated when any of the following operations are _attempted_:
7676

77-
* *Create*: `createUsers` mutation, `create`, or `connectOrCreate` nested operation via a related type.
77+
* *Create*: `createUsers` mutation, `create` nested operation via a related type.
7878
* *Read*: `users`, `usersConnection`, `aggregate` query, or access via related type.
7979
* *Update*: `updateUsers` mutation or `update` nested operation via a related type.
8080
* *Delete*: `deleteUsers` mutation or `delete` nested operation via a related type.
81-
* *Create relationship*: `connect` or `connectOrCreate` nested operation via a related type.
81+
* *Create relationship*: `connect` nested operation via a related type.
8282
* *Delete relationship*: `disconnect` nested operation via a related type.
8383
* *Subscribe*: all subscription operations related to type `User`.
8484

0 commit comments

Comments
 (0)