Skip to content

Commit 1dcf57b

Browse files
darrellwardelidiazuin
authored andcommitted
Update @queryOptions to @limit and add migration step (neo4j#19)
1 parent 264bd4d commit 1dcf57b

File tree

1 file changed

+6
-35
lines changed

1 file changed

+6
-35
lines changed

modules/ROOT/pages/directives/reference.adoc

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ The `@limit` is to be used on nodes, and when applied will inject values into Cy
6868

6969
Reference: xref::reference/directives/default-values.adoc#type-definitions-default-values-limit[`@limit`]
7070

71+
== `@limit`
72+
73+
The `@limit` is to be used on nodes, and when applied will inject values into Cypher `LIMIT` clauses.
74+
75+
Reference: xref::reference/directives/default-values.adoc#type-definitions-default-values-limit[`@limit`]
76+
7177
== `@mutation`
7278

7379
This directive is used to limit the availability of Mutation operations in the library.
@@ -107,29 +113,13 @@ Reference: xref::ogm/private.adoc[`@private` Directive]
107113
This directive is used to limit the availability of Query operations in the library.
108114

109115
Reference: xref:/schema-configuration/type-configuration.adoc#_query[`@query`]
110-
<<<<<<< HEAD
111-
=======
112116

113117
== `@queryOptions`
114118

115119
The `@queryOptions` is to be used on nodes, where applied will inject values into a query such as the `limit`.
116120

117121
Reference: xref::/directives/default-values.adoc#type-definitions-default-values-queryoptions[`@queryOptions`]
118122

119-
<<<<<<< HEAD:modules/ROOT/pages/directives/reference.adoc
120-
<<<<<<< HEAD
121-
== `@readonly` label:deprecated[]
122-
123-
This directive is deprecated. See the xref:/schema-configuration/field-configuration.adoc#_settable[`@settable`] directive.
124-
The `@readonly` directive marks fields as read-only.
125-
126-
Reference: xref::/schema-configuration/field-configuration.adoc#_readonly_deprecated[`@readonly`]
127-
>>>>>>> e36251b (fixing broken links)
128-
129-
=======
130-
>>>>>>> dbb023b (Remove references to deprecated directives (#11))
131-
=======
132-
>>>>>>> dd84992 (Remove references to deprecated directives (#11)):modules/ROOT/pages/reference/directives/index.adoc
133123
== `@relationship`
134124

135125
The `@relationship` directive is used to configure relationships between object types.
@@ -176,24 +166,5 @@ Reference: xref::/directives/autogeneration.adoc#type-definitions-autogeneration
176166

177167
The `@unique` directive indicates that there should be a uniqueness constraint in the database for the fields that it is applied to.
178168

179-
<<<<<<< HEAD
180-
<<<<<<< HEAD
181-
Reference: xref::reference/type-definitions/indexes-and-constraints.adoc#type-definitions-constraints-unique[Unique node property constraints]
182-
<<<<<<< HEAD:modules/ROOT/pages/directives/reference.adoc
183-
=======
184169
Reference: xref::/directives/indexes-and-constraints.adoc#type-definitions-constraints-unique[Unique node property constraints]
185170

186-
== `@writeonly` label:deprecated[]
187-
188-
This directive is deprecated.
189-
190-
Use the xref:/schema-configuration/field-configuration.adoc#_selectable[`@selectable`] directive instead.
191-
The `@writeonly` directive marks fields as write-only.
192-
193-
Reference: xref::/schema-configuration/field-configuration.adoc#_writeonly_deprecated[`@writeonly`]
194-
>>>>>>> e36251b (fixing broken links)
195-
=======
196-
Reference: xref::reference/type-definitions/indexes-and-constraints.adoc#type-definitions-constraints-unique[Unique node property constraints]
197-
>>>>>>> dbb023b (Remove references to deprecated directives (#11))
198-
=======
199-
>>>>>>> dd84992 (Remove references to deprecated directives (#11)):modules/ROOT/pages/reference/directives/index.adoc

0 commit comments

Comments
 (0)