Skip to content

Commit ac204d2

Browse files
Fix tables (#1178)
1 parent 9148bb7 commit ac204d2

File tree

5 files changed

+39
-29
lines changed

5 files changed

+39
-29
lines changed

modules/ROOT/pages/clauses/call.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ CALL dbms.checkConfigValue('server.bolt.enabled', 'true')
8686
| "valid" | "message"
8787
| true | "requires restart"
8888
89-
1+d|Rows: 2
89+
2+d|Rows: 1
9090
|===
9191
9292
====
@@ -118,7 +118,7 @@ CALL dbms.checkConfigValue($setting, $value)
118118
| "valid" | "message"
119119
| true | "requires restart"
120120
121-
1+d|Rows: 2
121+
2+d|Rows: 1
122122
|===
123123
124124
[NOTE]
@@ -153,7 +153,7 @@ CALL dbms.checkConfigValue($setting, 'true')
153153
| "valid" | "message"
154154
| true | "requires restart"
155155
156-
1+d|Rows: 2
156+
2+d|Rows: 1
157157
|===
158158
159159
====

modules/ROOT/pages/clauses/where.adoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,8 @@ For more information, see the section about the xref:syntax/operators.adoc#match
384384
| 'Andy'
385385
| 'Timothy'
386386
| 'Peter'
387-
2+|Rows: 1
387+
388+
1+d|Rows: 3
388389
|===
389390

390391
Note that the `IS NORMALIZED` operator returns `null` when used on a non-`STRING` value.

modules/ROOT/pages/functions/aggregating.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ The `Guy Pearce` node will, therefore, get counted twice when not using `DISTINC
312312
313313
| friendOfFriend.name | count(friendOfFriend) | count(ALL friendOfFriend) | count(DISTINCT friendOfFriend)
314314
| "Guy Pearce" | 2 | 2 | 1
315-
2+d|Rows: 1
316315
316+
4+d|Rows: 1
317317
|===
318318
319319
======

modules/ROOT/pages/syntax/operators.adoc

Lines changed: 33 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,8 @@ Even though both *'Anne'* and *'Carol'* have blue eyes, *'blue'* is only returne
5555
| +p.eyeColor+
5656
| +"blue"+
5757
| +"brown"+
58-
1+d|Rows: 2 +
59-
Nodes created: 3 +
60-
Properties set: 6 +
61-
Labels added: 3
58+
59+
1+d|Rows: 2
6260
|===
6361

6462
`DISTINCT` is commonly used in conjunction with xref::functions/aggregating.adoc[aggregating functions].
@@ -102,10 +100,8 @@ RETURN p.name
102100
| +p.name+
103101
| +"Jane"+
104102
| +"Tom"+
105-
1+d|Rows: 2 +
106-
Nodes created: 2 +
107-
Properties set: 4 +
108-
Labels added: 2
103+
104+
1+d|Rows: 2
109105
|===
110106

111107

@@ -131,10 +127,8 @@ RETURN DISTINCT restaurant.name
131127
|===
132128
| +restaurant.name+
133129
| +"Hungry Jo"+
134-
1+d|Rows: 1 +
135-
Nodes created: 4 +
136-
Properties set: 8 +
137-
Labels added: 4
130+
131+
1+d|Rows: 1
138132
|===
139133

140134
See xref::clauses/where.adoc#query-where-basic[Basic usage] for more details on dynamic property access.
@@ -165,10 +159,8 @@ All the existing properties on the node are replaced by those provided in the ma
165159
|===
166160
| +p.name+ | +p.age+ | +p.livesIn+
167161
| +"Ellen"+ | +<null>+ | +"London"+
168-
3+d|Rows: 1 +
169-
Nodes created: 1 +
170-
Properties set: 5 +
171-
Labels added: 1
162+
163+
3+d|Rows: 1
172164
|===
173165

174166
See xref::clauses/set.adoc#set-replace-properties-using-map[Replace all properties using a map and `=`] for more details on using the property replacement operator `=`.
@@ -194,10 +186,8 @@ The properties on the node are updated as follows by those provided in the map:
194186
|===
195187
| +p.name+ | +p.age+ | +p.livesIn+
196188
| +"Ellen"+ | +20+ | +"London"+
197-
3+d|Rows: 1 +
198-
Nodes created: 1 +
199-
Properties set: 4 +
200-
Labels added: 1
189+
190+
3+d|Rows: 1
201191
|===
202192

203193
See xref::clauses/set.adoc#set-setting-properties-using-map[Mutate specific properties using a map and `+=`] for more details on using the property mutation operator `+=`.
@@ -250,6 +240,7 @@ RETURN b - a AS result
250240
|===
251241
| +result+
252242
| +7+
243+
253244
1+d|Rows: 1
254245
|===
255246

@@ -292,6 +283,7 @@ RETURN one > two AS result
292283
|===
293284
| +result+
294285
| +true+
286+
295287
1+d|Rows: 1
296288
|===
297289

@@ -317,6 +309,7 @@ RETURN candidate
317309
| +candidate+
318310
| +"John"+
319311
| +"Jonathan"+
312+
320313
1+d|Rows: 2
321314
|===
322315

@@ -531,6 +524,7 @@ RETURN number
531524
| +4+
532525
| +7+
533526
| +9+
527+
534528
1+d|Rows: 3
535529
|===
536530

@@ -560,6 +554,7 @@ RETURN 'neo' + '4j' AS result
560554
|===
561555
| +result+
562556
| +"neo4j"+
557+
563558
1+d|Rows: 1
564559
|===
565560

@@ -605,7 +600,8 @@ RETURN "the \u212B char" IS NORMALIZED AS normalized
605600
|===
606601
| normalized
607602
| false
608-
2+|Rows: 1
603+
604+
1+|Rows: 1
609605
|===
610606

611607
Because the given `STRING` contains a non-normalized Unicode character (`\u212B`), `false` is returned.
@@ -632,7 +628,8 @@ RETURN "the \u212B char" IS NOT NORMALIZED AS notNormalized
632628
|===
633629
| notNormalized
634630
| true
635-
2+|Rows: 1
631+
632+
1+|Rows: 1
636633
|===
637634

638635
Because the given `STRING` contains a non-normalized Unicode character (`\u212B`), and is not normalized, `true` is returned.
@@ -752,6 +749,7 @@ RETURN aDateTime + aDuration, aDateTime - aDuration
752749
|===
753750
| +aDateTime + aDuration+ | +aDateTime - aDuration+
754751
| +1996-10-11T12:31:14.000000002+ | +1972-10-11T12:31:13.999999998+
752+
755753
2+d|Rows: 1
756754
|===
757755

@@ -791,6 +789,7 @@ RETURN
791789
|===
792790
| +date1+ | +date2+
793791
| +2012-02-28+ | +2012-02-29+
792+
794793
2+d|Rows: 1
795794
|===
796795

@@ -812,6 +811,7 @@ RETURN duration1, duration2, duration1 + duration2, duration1 - duration2
812811
|===
813812
| +duration1+ | +duration2+ | +duration1 + duration2+ | +duration1 - duration2+
814813
| +P12Y5M14DT16H13M10.000000001S+ | +P1M-14DT15H49M10S+ | +P12Y6MT32H2M20.000000001S+ | +P12Y4M28DT24M0.000000001S+
814+
815815
4+d|Rows: 1
816816
|===
817817

@@ -833,6 +833,7 @@ RETURN aDuration, aDuration * 2, aDuration / 3
833833
|===
834834
| +aDuration+ | +aDuration * 2+ | +aDuration / 3+
835835
| +P14DT13M10.000000001S+ | +P28DT26M20.000000002S+ | +P4DT16H4M23.333333333S+
836+
836837
3+d|Rows: 1
837838
|===
838839

@@ -867,6 +868,7 @@ RETURN p.person.name
867868
|===
868869
| +p.person.name+
869870
| +"Anne"+
871+
870872
1+d|Rows: 1
871873
|===
872874

@@ -896,6 +898,7 @@ RETURN a[$myKey] AS result
896898
|===
897899
| +result+
898900
| +"Anne"+
901+
899902
1+d|Rows: 1
900903
|===
901904

@@ -930,6 +933,7 @@ RETURN [1,2,3,4,5] + [6,7] AS myList
930933
|===
931934
| +myList+
932935
| +[1,2,3,4,5,6,7]+
936+
933937
1+d|Rows: 1
934938
|===
935939

@@ -948,6 +952,7 @@ RETURN [1,2,3,4,5] || [6,7] AS myList
948952
|===
949953
| myList
950954
| [1,2,3,4,5,6,7]
955+
951956
1+d|Rows: 1
952957
|===
953958

@@ -971,6 +976,7 @@ RETURN number
971976
| +number+
972977
| +2+
973978
| +3+
979+
974980
1+d|Rows: 2
975981
|===
976982

@@ -997,6 +1003,7 @@ If the left-hand operator had been `[1, 2]` instead of `[2, 1]`, the query would
9971003
|===
9981004
| +inList+
9991005
| +true+
1006+
10001007
1+d|Rows: 1
10011008
|===
10021009

@@ -1015,6 +1022,7 @@ However, `IN` evaluates to `false` as the right-hand operand does not contain an
10151022
|===
10161023
| +inList+
10171024
| +false+
1025+
10181026
1+d|Rows: 1
10191027
|===
10201028

@@ -1047,6 +1055,7 @@ The square brackets will extract the elements from the start index `1`, and up t
10471055
|===
10481056
| +result+
10491057
| +["John","Bill"]+
1058+
10501059
1+d|Rows: 1
10511060
|===
10521061

@@ -1076,6 +1085,7 @@ RETURN names[$myIndex] AS result
10761085
|===
10771086
| +result+
10781087
| +"John"+
1088+
10791089
1+d|Rows: 1
10801090
|===
10811091

@@ -1097,6 +1107,7 @@ RETURN 3 IN l[0] AS result
10971107
|===
10981108
| +result+
10991109
| +true+
1110+
11001111
1+d|Rows: 1
11011112
|===
11021113

modules/ROOT/pages/values-and-types/temporal.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,6 @@ For more information, see the xref::values-and-types/temporal.adoc#cypher-tempor
505505
|
506506
|
507507
|
508-
|
509-
510508
|===
511509

512510

0 commit comments

Comments
 (0)