Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
221 commits
Select commit Hold shift + click to select a range
83c777d
Update antora.yml
recrwplay Nov 21, 2022
38b90f0
Update publish.yml
recrwplay Nov 21, 2022
a14584a
Update publish branches
recrwplay Nov 22, 2022
4dcae65
Update link to browser manual (#219)
recrwplay Nov 22, 2022
97d220d
Fail verification if log contains warnings (#220)
recrwplay Nov 22, 2022
6c12943
added dryrun to list of additions and a note about 5.2
AlexicaWright Nov 22, 2022
d9e1ff3
Update modules/ROOT/pages/deprecations-additions-removals-compatibili…
AlexicaWright Nov 22, 2022
348cab7
Use short form of version attribute for index page (#221)
recrwplay Nov 22, 2022
5a6d6bd
addressed PR comments
AlexicaWright Nov 22, 2022
60e5bed
typo
AlexicaWright Nov 22, 2022
881652f
Add deprecation for duplicated variable length relationships in 5.2 (…
davidoliverSP2 Nov 22, 2022
deb718b
Add kroki extension to playbook (#224)
recrwplay Nov 22, 2022
9c042c0
changed label to new
AlexicaWright Nov 23, 2022
25b20fa
Merge branch 'dev' into 5.2-dryrun
AlexicaWright Nov 23, 2022
cbf64cb
added dryrun to list of additions and a note about 5.2 (#223)
AlexicaWright Nov 23, 2022
4588dab
Mark legacy relationship types as deprecated.
arnefischereit Nov 10, 2022
f9009a2
Mark legacy relationship types as deprecated. (#177)
JPryce-Aklundh Nov 24, 2022
f6d2fd2
Add note about the behavior of the id function on composite databases
tobias-johansson Nov 2, 2022
121a5db
Address review comment
tobias-johansson Nov 23, 2022
760ddd3
Add note about the behavior of the id function on composite databases…
JPryce-Aklundh Nov 24, 2022
d168ac0
Update documentation for Exists and Count subqueries
gem-neo4j Nov 17, 2022
c43af34
PR Review updates
gem-neo4j Nov 18, 2022
66d5e40
Add COUNT and EXISTS as submenus in menu
gem-neo4j Nov 21, 2022
34fd359
PR review updates
gem-neo4j Nov 25, 2022
00fa04a
Add and update documentation on Exists and Count subquery expressions…
JPryce-Aklundh Nov 25, 2022
2e77a19
Update explanation for predicate functions when used with null values…
davidoliverSP2 Nov 30, 2022
503949f
Improving description of `access` on SHOW DATABASES (#231) (#236)
lidiazuin Nov 30, 2022
b28ccc7
Edition of the Expressions section after review (#235) (#238)
lidiazuin Nov 30, 2022
8887cce
Document ´Allow both plural and singular form in SHOW commands`
Hunterness Nov 30, 2022
18a4907
Document ´Allow both plural and singular form in SHOW commands` (#233)
JPryce-Aklundh Nov 30, 2022
090ad30
fix.execution-plan.xref
Dec 1, 2022
ae2bd43
fix xref link on Execution plans page (#240)
JPryce-Aklundh Dec 5, 2022
7070e1f
Update restrictions when using WITH clause in a CALL subquery (#245)
JPryce-Aklundh Dec 6, 2022
ae345d0
Update docs about round() function. (#230)
Lojjs Dec 8, 2022
fa2a546
Fix Runtime version in Query Plan examples (#249)
JPryce-Aklundh Dec 12, 2022
fd715a2
Remove old note about variable length pattern matching in versions 2.…
JPryce-Aklundh Dec 13, 2022
d9ff885
Add documentation on updated `SHOW DATABASES` behaviour (#246)
jackwaudby Dec 14, 2022
c1f64e5
Clarify that the order of UNION branches matter if there are updates.
sherfert Dec 13, 2022
b85523e
typo
sherfert Dec 14, 2022
22f0e22
Clarify that the order of UNION branches matter if there are updates.…
sherfert Dec 15, 2022
ec519cb
Update Neo4j version attributes
recrwplay Dec 15, 2022
ad68b71
fix index preference list (#265)
JPryce-Aklundh Dec 16, 2022
fdd763d
Update default password length from 3 to 8 characters (#266)
JPryce-Aklundh Dec 16, 2022
4e0acdb
Adding notes about syntax to explain the use of quotation marks (#252…
lidiazuin Dec 16, 2022
82e44c9
Pointing the link to index-backed order-by to the right location (#259)
arnefischereit Dec 19, 2022
ff1b626
Correct password example (#271)
JPryce-Aklundh Dec 19, 2022
450666d
Add docs for new logical operator IntersectionNodeByLabelsScan (#243)
pontusmelke Dec 19, 2022
1a7c022
fix broken link
AlexicaWright Dec 20, 2022
3b012f5
typo
AlexicaWright Dec 20, 2022
8d7d029
fix broken link (#276)
AlexicaWright Dec 20, 2022
54ba664
Update Show Procedures table (#264)
JPryce-Aklundh Dec 21, 2022
4104557
Fix small syntax error in clauses folder (#280)
xiaojieyang Jan 2, 2023
dd6fb31
Document relationship key and uniqueness constraints (#225)
Hunterness Jan 4, 2023
2366eb1
Backporting missing Alias examples (#279)
JPryce-Aklundh Jan 5, 2023
510ca2a
Typo: Replace "quering" with "querying" (#281)
arnefischereit Jan 9, 2023
fc39da6
square function returns NaN when given a negative number (#284)
nadja-muller Jan 9, 2023
4731d38
Add missing seeding options (#285)
ali-ince Jan 9, 2023
4e8b013
Fixing svg images that were not showing live (#292) (#296)
lidiazuin Jan 9, 2023
acfe839
Add a warning about ALTER DATABASE and single primaries (#289)
nick-giles-neo Jan 9, 2023
4dd90e8
Improve section on graph functions (#263)
tobias-johansson Jan 9, 2023
dac91ee
New data type page (#275)
JPryce-Aklundh Jan 9, 2023
08c510a
Explain how to use limit and where together with a WITH. (#287)
gem-neo4j Jan 9, 2023
b9fbd67
Update the readme with branch and PR management details (#206)
davidoliverSP2 Jan 9, 2023
fdbec8a
Document escaping in string literals, names and regular expressions (…
nadja-muller Jan 12, 2023
459dc91
Temporary remove the new relationship constraint docs again as it is …
Hunterness Jan 13, 2023
71fc154
Improve alias documentation around escaping of alias names (#302)
Hunterness Jan 13, 2023
c61c334
Copyright 2023 (#308)
davidoliverSP2 Jan 16, 2023
5100485
Update Operators page examples (#311)
JPryce-Aklundh Jan 17, 2023
ae033d2
Fixing svg images that were not showing (#315) (#316)
lidiazuin Jan 18, 2023
dc8538a
Fix result in scalar and predicate functions (#317)
JPryce-Aklundh Jan 19, 2023
86d0de0
Update MATCH page (#307)
JPryce-Aklundh Jan 19, 2023
70945ed
Add notes about not recommending dots in database and alias names
Hunterness Jan 23, 2023
903b738
Update link to correct name
Hunterness Jan 23, 2023
5192ad4
Review comments
Hunterness Jan 23, 2023
0dec798
Adding link to specific fulltext procedures as requested (#322) (#325)
lidiazuin Jan 23, 2023
1bb5e49
Merge branch 'dev' into dev-add-note-about-dots-in-alias-names
stefano-ottolenghi Jan 23, 2023
2e4dce9
Add a note about dots in alias names not being recommended (#323)
stefano-ottolenghi Jan 23, 2023
bce99d9
updated cluster roles and added more columns for show databases
AlexicaWright Jan 23, 2023
05064c8
Add PROFILE to queries on operators page (#327)
JPryce-Aklundh Jan 23, 2023
886709b
Merge branch 'dev' into dev-cherry-pick-324
AlexicaWright Jan 23, 2023
0eafe9e
updated cluster roles and added more columns for show databases (#328)
AlexicaWright Jan 23, 2023
39f21d2
Clean aliases examples (#318)
stefano-ottolenghi Jan 23, 2023
c704e47
fix link on SHOW PROCEDURES page to ops manual (#331)
JPryce-Aklundh Jan 24, 2023
1fc3f95
Update the DELETE page (#330)
JPryce-Aklundh Jan 25, 2023
234dc5c
Fix examples on WHERE page (#336)
JPryce-Aklundh Jan 25, 2023
20af5f1
Add note about server commands and composite databases (#333)
Hunterness Jan 25, 2023
4d4325b
Update Neo4j version
recrwplay Jan 25, 2023
133a0f4
fix examples in SHOW TRANSACTIONS page (#339)
JPryce-Aklundh Jan 26, 2023
067d13e
fix MERGE examples for testing (#340)
JPryce-Aklundh Jan 26, 2023
3b77a0c
skip test for deprecations page
stefano-ottolenghi Jan 26, 2023
9958f9b
Fix syntax sections examples for tests (#344)
stefano-ottolenghi Jan 26, 2023
4b1efe3
Update use.adoc for test run (#341)
xiaojieyang Jan 27, 2023
258bba6
update SHOW FUNCTIONS examples for testing (#345)
JPryce-Aklundh Jan 27, 2023
12b4769
Fix examples in access control section (for tests) (#346)
stefano-ottolenghi Jan 27, 2023
751cfe3
Update Graph functions page for testing (#352)
JPryce-Aklundh Jan 27, 2023
9aadd0a
update call.adoc page for testing (#347)
xiaojieyang Jan 30, 2023
86d2ba6
Update CALL subquery examples for testing (#348)
JPryce-Aklundh Jan 30, 2023
33bad53
Update list functions examples for testing (#351)
JPryce-Aklundh Jan 30, 2023
428f70e
more testing fixes to aliases page
stefano-ottolenghi Jan 30, 2023
912d188
Update Spatial Functions examples for testing (#358)
JPryce-Aklundh Jan 30, 2023
677fc8c
Update Aggregating Functions examples for testing (#356)
JPryce-Aklundh Jan 30, 2023
2038777
Update User Defined functions page for testing (#362)
JPryce-Aklundh Jan 30, 2023
1e9c6f8
Fix Operator page for testing (#364)
JPryce-Aklundh Jan 30, 2023
6051fc2
update syntax/lists.adoc page for test (#365)
xiaojieyang Jan 31, 2023
3755000
update syntax/operator.adoc for test (#359)
xiaojieyang Jan 31, 2023
88f6578
Update `Database management` examples (testing) (#366)
stefano-ottolenghi Jan 31, 2023
5cfaa6f
Update Full Text Search Indexes examples for testing (#372)
JPryce-Aklundh Jan 31, 2023
434fd68
update syntax/expression page for test (#357)
xiaojieyang Jan 31, 2023
f3ce571
Update Indexes for search-performance examples (testing) (#369)
JPryce-Aklundh Jan 31, 2023
9fe0629
Fix formatting in query-tuning/indexes page (#379)
stefano-ottolenghi Feb 1, 2023
8a7ccf5
Fix `query-tuning` section for tests (#375)
stefano-ottolenghi Feb 1, 2023
37b0e8b
Update /clauses doc to avoid empty result from driver (#374)
xiaojieyang Feb 2, 2023
c349fe5
update functions/*.adoc for avoid empty result (#378)
xiaojieyang Feb 2, 2023
cc764cc
skip styleguide.adoc for test (#380)
xiaojieyang Feb 2, 2023
89812b6
It is possible now to go 1->n with primaries. (#383)
gfx54b Feb 2, 2023
d2c4ec1
Update Constraints examples for testing (#367)
JPryce-Aklundh Feb 3, 2023
c2d2db0
Changing the label from deprecated to removed (#387)
lidiazuin Feb 3, 2023
b55bcbf
update dict data in result (maps.adoc) (#385)
xiaojieyang Feb 3, 2023
3affb0d
Fix links in elementId function (#392)
JPryce-Aklundh Feb 7, 2023
f708f64
Put in `[role="queryplan"]` on profile query results (#390)
stefano-ottolenghi Feb 7, 2023
4304380
Update elementId params and queries (#396)
JPryce-Aklundh Feb 7, 2023
b38a487
Updating index query tuning (#391)
xiaojieyang Feb 8, 2023
e745528
Fix date time example blocks
stefano-ottolenghi Feb 8, 2023
bbc18c3
Fix query-plan in using.adoc and shortestpath.adoc (#394)
xiaojieyang Feb 8, 2023
6d76512
test fixes and cleanup. Lookup indexes are present by default so cann…
stefano-ottolenghi Feb 9, 2023
b08d2d4
update point data for spatial (#400)
xiaojieyang Feb 9, 2023
f358bbc
Deprecate different orders inside a UNION clause (#314)
gem-neo4j Feb 9, 2023
924dca4
Fix some date time and paths in docs (#401)
xiaojieyang Feb 9, 2023
87c5914
Update query plans for operator.adoc (testing) (#395)
xiaojieyang Feb 9, 2023
e780eca
Fix path representation, add labels to query
stefano-ottolenghi Feb 10, 2023
c621491
Update shortest path examples on MATCH page (testing) (#404)
JPryce-Aklundh Feb 10, 2023
432f138
remove test-result-skip for time (#405)
xiaojieyang Feb 10, 2023
9aeb38f
Create relationships as directed in styleguide (testing) (#410)
stefano-ottolenghi Feb 10, 2023
09c7079
Make example in `limit.adoc` deterministic (#411)
stefano-ottolenghi Feb 13, 2023
a9cd43f
make example really deterministic
stefano-ottolenghi Feb 13, 2023
680ef9b
Remove `WAIT` from database creation tests setups (#415)
stefano-ottolenghi Feb 14, 2023
78ca775
Add a note about constraint creation failing on first offence (#406)
Hunterness Feb 14, 2023
8abbb6f
fixing command according to description and results (#417) (#419)
lidiazuin Feb 15, 2023
bd88a76
Improve test setup blocks in operators page.
stefano-ottolenghi Feb 16, 2023
58311ee
Add some nodes and relationships to test setups in indexes page.
stefano-ottolenghi Feb 16, 2023
d640112
Fix mistake in test setup and add more dummy data
stefano-ottolenghi Feb 16, 2023
7dcd3d8
Update WHERE page (#418)
JPryce-Aklundh Feb 16, 2023
25654d4
Add attribute subs to codeblocks (#424)
recrwplay Feb 16, 2023
221dc5f
Update Neo4j version (#426)
recrwplay Feb 16, 2023
e314d2b
Update Return page (#430)
JPryce-Aklundh Feb 21, 2023
b808308
Update Merge page (#428)
JPryce-Aklundh Feb 22, 2023
dd227a2
Make `Delete` operator example query plan more deterministic (#434)
stefano-ottolenghi Feb 22, 2023
7302a15
Update Optional Match page (#429)
JPryce-Aklundh Feb 22, 2023
405f182
New Aura and Cypher page (#435)
JPryce-Aklundh Feb 22, 2023
69ffda7
Add edit this page links (#258)
recrwplay Feb 23, 2023
37b937f
Remove in-page TOCs (#441)
davidoliverSP2 Feb 23, 2023
deeb0b0
Remove in-page ToC (#443)
JPryce-Aklundh Feb 23, 2023
7416613
Update `server.tag` documentation (#433)
jackwaudby Feb 24, 2023
9d6bdf6
New graph to Aggregating Functions page (#446)
JPryce-Aklundh Feb 27, 2023
153468a
Small fix on MATCH page (#450)
JPryce-Aklundh Feb 28, 2023
7a14b9c
Enable remote aliases tests (#447)
xiaojieyang Mar 1, 2023
77a7c38
Add docs for new COLLECT subqueries (#398)
gem-neo4j Mar 1, 2023
0ddfc2e
Add Aura roles and labels (#437)
JPryce-Aklundh Mar 2, 2023
0e37ed8
New graph to Predicate Functions page (#449)
JPryce-Aklundh Mar 2, 2023
1a861b8
Describing equijoins in patterns (#453)
arnefischereit Mar 6, 2023
7c78fd5
Fix MATCH examples (#458)
JPryce-Aklundh Mar 6, 2023
b2249a1
Add SHOW SETTING clause and privileges (#440)
ali-ince Mar 6, 2023
76725ae
Remove repeated var-length relationship deprecation (#455)
Mar 6, 2023
bd0e667
fix exampleId (#463)
JPryce-Aklundh Mar 7, 2023
d16c037
Update query parameters for test (#445)
xiaojieyang Mar 9, 2023
f492e40
Enable load csv test in docs (#452)
xiaojieyang Mar 9, 2023
c0ef1d3
Make csv examples ready for autoextraction from tests (#469)
stefano-ottolenghi Mar 10, 2023
4091d8d
Adds docs for status report and error behaviour in CALL IN TXs (#312)
ncordon Mar 14, 2023
f65dab0
Update show output column lists (#464)
Hunterness Mar 17, 2023
d9f0e5c
Adding reference to dbms in the command for set-initial-password (#47…
lidiazuin Mar 17, 2023
d9a468c
Revert "Adds docs for status report and error behaviour in CALL IN TX…
ncordon Mar 20, 2023
57c06f1
Fix link on predicate functions page (#478)
JPryce-Aklundh Mar 20, 2023
6d5a66e
update Neo4j version (#481)
JPryce-Aklundh Mar 22, 2023
bf3ade4
Deprecate `connectComponentsPlanner` (#468)
sherfert Mar 22, 2023
79b3c79
New Cypher Manual introduction (#470)
JPryce-Aklundh Mar 23, 2023
34c84b1
Fix clause composition section in new intro (#484)
JPryce-Aklundh Mar 23, 2023
9e77f23
update headers and typo fix (#487)
JPryce-Aklundh Mar 23, 2023
7dc163d
add WAIT to alter database (#482)
HannesSandberg Mar 24, 2023
26a164f
Adds docs for status report and error behaviour in CALL IN TXs (#483)
ncordon Mar 24, 2023
766062b
Add a PDF-specific title (#491)
recrwplay Mar 30, 2023
772339c
Update textual representation of path results (#492)
JPryce-Aklundh Mar 31, 2023
e688d3c
[Testing] Fix inaccurate `SHOW DATABASES` results (#496)
stefano-ottolenghi Apr 4, 2023
6740b28
New Administration chapter (#494)
JPryce-Aklundh Apr 4, 2023
7a62446
Fix SHOW SETTINGS result table with updated list of procedures (#497)
JPryce-Aklundh Apr 5, 2023
9fab0ab
[Testing] Make a few more examples testable (#499)
stefano-ottolenghi Apr 11, 2023
696e2ba
Restructure index section (#500)
Hunterness Apr 13, 2023
7403f71
[Testing] Correct query plan for some operators (rollback) (#506)
stefano-ottolenghi Apr 13, 2023
22711ef
BFS doesn't have an upper bound (#508)
pontusmelke Apr 13, 2023
3103ad4
Add docs explaining MERGE + relationship uniqueness constraints (#507)
pontusmelke Apr 13, 2023
473cec7
Fix dbms admin images (#510)
JPryce-Aklundh Apr 13, 2023
94802d8
Re-add relationship constraint documentation (#490)
Hunterness Apr 18, 2023
c180585
Add a clearer deprecation message for replacing the user of paths in …
gem-neo4j Apr 19, 2023
1332ffc
Add edit url (#501)
recrwplay Apr 19, 2023
44e7b1e
Update readme (#498)
recrwplay Apr 19, 2023
895993c
Add 5.8 to antora.yml (#520)
JPryce-Aklundh Apr 21, 2023
0c5ec22
Add some initial documentation for query caches (#521)
Apr 24, 2023
80be7d4
Fix Query caches page (#524)
Apr 25, 2023
434cd9c
Document new statistics columns for `SHOW INDEXES` (#512)
Hunterness Apr 28, 2023
86c5c02
Add documentation for `AssertSameRelationship` logical plan
blouerat Apr 28, 2023
8dcc17f
[TESTING] Ensure string type results are surrounded by quotes (#527)
stefano-ottolenghi Apr 28, 2023
58d6161
[TESTING] Fix string formatting.
stefano-ottolenghi Apr 28, 2023
794aa24
Add cheat sheet link to Aura intro page (#528)
JPryce-Aklundh May 2, 2023
32aaabe
Add 5.7 CALL IN TXs features to additions page (#526)
JPryce-Aklundh May 2, 2023
4437e81
Small editorial change to introduction (#533)
JPryce-Aklundh May 3, 2023
163611c
New values and types chapter (#516)
JPryce-Aklundh May 3, 2023
de98df8
Fix Error Message display in new Values and Types chapter (#537)
JPryce-Aklundh May 4, 2023
6240760
Add documentation license and remove reference to beginners in introd…
JPryce-Aklundh May 5, 2023
9489b84
fix images on dbms administration page (#544)
JPryce-Aklundh May 10, 2023
b548a6a
Add Not available on Aura role to SHOW SETTINGS page (#546)
JPryce-Aklundh May 10, 2023
8fbdabc
Remove reference to `dbms.cluster.overview` (#548)
jackwaudby May 11, 2023
7a5c5f2
Add minor version release information on new features introduced betw…
JPryce-Aklundh May 11, 2023
76de5ab
Update all links to configs (#552)
renetapopova May 12, 2023
60ff06c
Add graph.propertiesByName query example that selects subset of graph…
smietana May 15, 2023
424c2da
Fix misaligned entries in the TOC (#554)
davidoliverSP2 May 15, 2023
4089bea
Mark Cypher first usage on every page (#549)
recrwplay May 16, 2023
197bc11
Cypher first usage - publish playbook (#558)
recrwplay May 16, 2023
12d4935
Add 5.9 to antora.yml (#560)
davidoliverSP2 May 16, 2023
5e427a9
document allowed whitespace characters (#531)
nadja-muller May 16, 2023
0e7613e
Merge branch 'dev' into publish-verification
recrwplay May 17, 2023
21a260d
Remove duplicate
recrwplay May 18, 2023
3dc899a
Restore blank line
recrwplay May 18, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Neo4j Cypher Manual

== Build
== Building locally

=== Prereqs

Expand All @@ -27,14 +27,14 @@ npm run build

To view the built site, launch a local server:

1. `npm start`
2. In a browser tab, go to `localhost:8000`
. `npm start`
. In a browser tab, go to `localhost:8000`

=== Live preview

When you run `npm start`, the project is monitored for updates to asciidoc files.

If a change to an asciidoc file is detected the site is automatically rebuilt.
If a change to an asciidoc file is detected, the site is automatically rebuilt.


=== Errors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@ To restore the role to its original capabilities two steps are needed.
First, execute `DROP ROLE admin`.
Secondly, run these queries:

// we cannot test this right now cause we would delete the role the test user is logged with

// cannot test as it would require deleting the role the test user is logged with
[source, cypher, role=noplay test-skip]
----
CREATE ROLE admin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ Users can change their password using `ALTER CURRENT USER SET PASSWORD`.
The old password is required in addition to the new one, and either or both can be a string value or a string parameter.
When a user executes this command it will change their password as well as set the `CHANGE NOT REQUIRED` flag.

// can't test, don't want to hardcode test user password
[source, cypher, role=test-skip]
----
ALTER CURRENT USER
Expand Down
6 changes: 6 additions & 0 deletions modules/ROOT/pages/administration/aliases.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ SHOW ALIAS `northwind` FOR DATABASE
======

Local database aliases can also be given properties.
These properties can then be used in queries with the xref::functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName()` function].

.Query
[source, cypher]
Expand Down Expand Up @@ -761,6 +762,7 @@ SHOW ALIAS `remote-with-driver-settings` FOR DATABASE YIELD *
.+Setting properties for remote database aliases+
======
Just as the local database aliases, the remote database aliases can be given properties.
These properties can then be used in queries with the xref::functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName()` function].

.Query
[source, cypher]
Expand Down Expand Up @@ -1083,6 +1085,8 @@ ALTER ALIAS `movie scripts` SET DATABASE PROPERTIES { nameContainsSpace: true }
System updates: 1
Rows: 0
----

The updated properties can then be used in queries with the xref::functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName()` function].
======

.+Altering local and remote aliases in composite databases+
Expand Down Expand Up @@ -1113,6 +1117,8 @@ System updates: 1
Rows: 0
----

The updated properties can then be used in queries with the xref::functions/graph.adoc#functions-graph-propertiesByName[`graph.propertiesByName()` function].

======

The changes for all database aliases will show up in the `SHOW ALIASES FOR DATABASE` command.
Expand Down
9 changes: 0 additions & 9 deletions modules/ROOT/pages/administration/databases.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -611,15 +611,6 @@ CREATE COMPOSITE DATABASE inventory
[role="statsonlyqueryresult"]
0 rows, System updates: 1

[NOTE]
====
Composite database names are subject to the same rules as standard databases.
One difference is however that the deprecated syntax using dots without enclosing the name in backticks is not available.
Both dots and dashes needs to be enclosed within backticks when using composite databases.


====

When a composite database has been created, it will show up in the listing provided by the command `SHOW DATABASES`.


Expand Down
12 changes: 10 additions & 2 deletions modules/ROOT/pages/clauses/listing-settings.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,36 +24,44 @@ The `SHOW SETTINGS` command will produce a table with the following columns:


.Show settings output
[options="header", cols="4,6"]
[options="header", cols="4,6,2"]
|===
| Column | Description
| Column | Description | Type

m| name
a| The name of the setting. label:default-output[]
m| STRING

m| value
a| The current value of the setting. label:default-output[]
m| STRING

m| isDynamic
a|
Whether the value of the setting can be updated dynamically, without restarting the server.
For dynamically updating a setting value, see link:{neo4j-docs-base-uri}/operations-manual/{page-version}/configuration/dynamic-settings/[Update dynamic settings].
label:default-output[]
m| BOOLEAN

m| defaultValue
a| The default value of the setting. label:default-output[]
m| STRING

m| description
a| The setting description. label:default-output[]
m| STRING

m| startupValue
a| The value of the setting at last startup.
m| STRING

m| isExplicitlySet
a| Whether the value of the setting is explicitly set by the user, either through configuration or dynamically.
m| BOOLEAN

m| validValues
a| A description of valid values for the setting.
m| STRING

|===

Expand Down
2 changes: 1 addition & 1 deletion modules/ROOT/pages/clauses/match.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ The following query adds two new paths between `Charlie Sheen` and his father `M
The query makes evident that both actors had a leading role in the movie `No Code of Conduct`, but only `Martin Sheen` had a leading role in the movie `Free Money`.

.Query
[source, cypher, indent=0]
[source, cypher]
----
MATCH
(charlie:Person {name: 'Charlie Sheen'}),
Expand Down
51 changes: 26 additions & 25 deletions modules/ROOT/pages/clauses/merge.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
== Introduction

The `MERGE` clause either matches existing node patterns in the graph and binds them or, if not present, creates new data and binds that.
In this way, it acts as a combination of `MATCH` and `CREATE` that allows for specific actions depending on whether the specified data was matched or created.
In this way, it acts as a combination of `MATCH` and `CREATE` that allows for specific actions depending on whether the specified data was matched or created.

For example, `MERGE` can be used to specify that a graph must contain a node with a `Person` label and a specific `name` property.
If there isn't a node with the specific `name` property, a new node will be created with that `name` property.
Expand Down Expand Up @@ -80,7 +80,7 @@ RETURN robert, labels(robert)
A new node is created because there are no nodes labeled `Critic` in the database:

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
[role="queryresult",options="header",cols="2*<m"]
|===
| +robert+ | +labels(robert)+
| +{}+ | +["Critic"]+
Expand All @@ -90,7 +90,7 @@ A new node is created because there are no nodes labeled `Critic` in the databas
[[merge-merge-single-node-with-properties]]
=== Merge single node with properties

Merging a node with properties that differ from the properties on existing nodes in the graph will create a new node:
Merging a node with properties that differ from the properties on existing nodes in the graph will create a new node:

.Query
[source, cypher]
Expand All @@ -102,7 +102,7 @@ RETURN charlie
A new node with the name `'Charlie Sheen'` is created since not all properties matched those set to the pre-existing `'Charlie Sheen'` node:

.Result
[role="queryresult",options="header,footer",cols="1*<m"]
[role="queryresult",options="header",cols="1*<m"]
|===
| +charlie+
| +{"name":"Charlie Sheen","age":10}+
Expand All @@ -124,7 +124,7 @@ RETURN michael.name, michael.bornIn
`'Michael Douglas'` is matched and the `name` and `bornIn` properties are returned:

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
[role="queryresult",options="header",cols="2*<m"]
|===
| +michael.name+ | +michael.bornIn+
| +"Michael Douglas"+ | +"New Jersey"+
Expand All @@ -149,7 +149,7 @@ As the `'New York'` node is not matched for the first bound node, it is created.
However, the newly-created `'New York'` node is matched and bound for the second and third bound nodes.

.Result
[role="queryresult",options="header,footer",cols="3*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +person.name+ | +person.bornIn+ | +location+
| +"Charlie Sheen"+ | +"New York"+ | +{name:"New York"}+
Expand Down Expand Up @@ -181,7 +181,7 @@ The query creates the `Person` node named `Keanu Reeves`, with a `bornIn` proper
It also sets a timestamp for the `created` property.

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
[role="queryresult",options="header",cols="2*<m"]
|===
| +keanu.name+ | +keanu.created+
| +"Keanu Reeves"+ | +1655200898563+
Expand All @@ -205,7 +205,7 @@ RETURN person.name, person.found
The query finds all the `Person` nodes, sets a property on them, and returns them:

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
[role="queryresult",options="header",cols="2*<m"]
|===
| +person.name+ | +person.found+
| +"Charlie Sheen"+ | +true+
Expand Down Expand Up @@ -235,7 +235,7 @@ Because the `Person` node named `Keanu Reeves` already exists, this query does n
Instead, it adds a timestamp on the `lastSeen` property.

.Result
[role="queryresult",options="header,footer",cols="3*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +keanu.name+ | +keanu.created+ | +keanu.lastSeen+
| +"Keanu Reeves"+ | +1655200902354+ | +1674655352124+
Expand All @@ -259,7 +259,7 @@ RETURN person.name, person.found, person.lastAccessed
----

.Result
[role="queryresult",options="header,footer",cols="3*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +person.name+ | +person.found+ | +person.lastAccessed+
| +"Charlie Sheen"+ | +true+ | +1655200903558+
Expand Down Expand Up @@ -293,7 +293,7 @@ RETURN charlie.name, type(r), wallStreet.title
Note that in order to match or create a relationship when using `MERGE`, at least one bound node must be specified, which is done via the `MATCH` clause in the above example.

.Result
[role="queryresult",options="header,footer",cols="3*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +charlie.name+ | +type(r)+ | +wallStreet.title+
| +"Charlie Sheen"+ | +"ACTED_IN"+ | +"Wall Street"+
Expand All @@ -318,7 +318,7 @@ When trying to `MERGE` a `Movie` node between them, Neo4j will not use any of th
Instead, a new `Movie` node is created.

.Result
[role="queryresult",options="header,footer",cols="1*<m"]
[role="queryresult",options="header",cols="1*<m"]
|===
| +movie+
| +{}+
Expand All @@ -345,7 +345,7 @@ As `'Charlie Sheen'` and `'Oliver Stone'` do not know each other in the example
The direction of the created relationship is arbitrary.

.Result
[role="queryresult",options="header,footer",cols="1*<m"]
[role="queryresult",options="header",cols="1*<m"]
|===
| +r+
| +{}+
Expand All @@ -371,7 +371,7 @@ The second `MERGE` creates a `BORN_IN` relationship between each person and a lo
`'Charlie Sheen'`, `'Rob Reiner',` and `'Oliver Stone'` all have a `BORN_IN` relationship to the _same_ `Location` node (`'New York'`).

.Result
[role="queryresult",options="header,footer",cols="3*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +person.name+ | +person.bornIn+ | +location+
| +"Charlie Sheen"+ | +"New York"+ | +{name:"New York"}+
Expand Down Expand Up @@ -402,7 +402,7 @@ As `'Charlie Sheen'` and `'Michael Douglas'` both have a chauffeur with the same
This is in contrast to the example shown above in xref::clauses/merge.adoc#merge-merge-on-a-relationship-between-two-existing-nodes[Merge on a relationship between two existing nodes], where the first `MERGE` was used to bind the `Location` nodes and to prevent them from being recreated (and thus duplicated) on the second `MERGE`.

.Result
[role="queryresult",options="header,footer",cols="3*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +person.name+ | +person.chauffeurName+ | +chauffeur+
| +"Charlie Sheen"+ | +"John Brown"+ | +{name:"John Brown"}+
Expand Down Expand Up @@ -446,7 +446,7 @@ RETURN laurence.name
----

.Result
[role="queryresult",options="header,footer",cols="1*<m"]
[role="queryresult",options="header",cols="1*<m"]
|===
| +laurence.name+
| +"Laurence Fishburne"+
Expand All @@ -466,7 +466,7 @@ RETURN oliver.name, oliver.bornIn
----

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
[role="queryresult",options="header",cols="2*<m"]
|===
| +oliver.name+ | +oliver.bornIn+
| +"Oliver Stone"+ | +"New York"+
Expand Down Expand Up @@ -565,27 +565,28 @@ To use map parameters with `MERGE`, it is necessary to explicitly use the expect
For more information on parameters, see xref::syntax/parameters.adoc[].

.Parameters
[source,javascript, indent=0]
[source, javascript]
----
{
"param": {
"name": "Keanu Reeves",
"role": "Neo"
"bornIn": "Beirut",
"chauffeurName": "Eric Brown"
}
}
----

.Query
[source, cypher, role=test-skip]
[source, cypher]
----
MERGE (person:Person {name: $param.name, role: $param.role})
RETURN person.name, person.role
MERGE (person:Person {name: $param.name, bornIn: $param.bornIn, chauffeurName: $param.chauffeurName})
RETURN person.name, person.bornIn, person.chauffeurName
----

.Result
[role="queryresult",options="header,footer",cols="2*<m"]
[role="queryresult",options="header",cols="3*<m"]
|===
| +person.name+ | +person.role+
| +"Keanu Reeves"+ | +"Neo"+
| person.name | person.bornIn | person.chauffeurName
| "Keanu Reeves" | "Beirut" | "Eric Brown"
|===

13 changes: 8 additions & 5 deletions modules/ROOT/pages/clauses/use.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@ When executing queries against a composite database, the `USE` clause must only
[[query-use-examples]]
== Examples

To create the database `myDatabase`, run the following query in a Neo4j database:
////
[source, cypher, role=test-setup]
----
CREATE DATABASE myDatabase;
CREATE COMPOSITE DATABASE `myComposite`;
CREATE ALIAS `myComposite`.`myConstituent` FOR DATABASE `myDatabase`;
----

////

[[query-use-examples-query-graph]]
=== Query a graph
Expand All @@ -80,7 +82,7 @@ MATCH (n) RETURN n
In this example it is assumed that the DBMS contains a composite database named `myComposite`, which includes an alias named `myConstituent`:

.Query
[source, cypher, role="test-skip"]
[source, cypher]
----
USE myComposite.myConstituent
MATCH (n) RETURN n
Expand All @@ -95,14 +97,15 @@ The built-in function `graph.byName()` can be used in the `USE` clause to resolv
This example uses a composite database named `myComposite` that includes an alias named `myConstituent`:

.Query
[source, cypher, role="test-skip"]
[source, cypher]
----
USE graph.byName('myComposite.myConstituent')
MATCH (n) RETURN n
----

The argument can be any expression that evaluates to the name of a constituent graph - for example a parameter:
// this can only run under composite databases

// can't run this through drivers, we need a value when initializing a session
.Query
[source, cypher, role=test-skip]
----
Expand Down
Loading