You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/ROOT/pages/introduction/cypher-neo4j.adoc
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -137,13 +137,19 @@ Database transactions opened inside a DBMS-level transaction are committed or ro
137
137
DBMS transactions have the following limitations:
138
138
139
139
* Only one database can be written to in a DBMS transaction.
140
-
* Cypher operations fall into the following main categories:
140
+
* Queries executed in the same transaction must either be of the same statement type, or a combination of schema modifications and read queries. The following statement types exist:
141
+
** Administration commands contain xref:clauses/index.adoc#administration-clauses[administration clauses], such as `CREATE DATABASE movies`
142
+
** Schema modifications, which contain xref:clauses/index.adoc#index-and-constraint-clauses[index and constraint clauses],
143
+
such as `CREATE CONSTRAINT ...`
144
+
** Write queries, which contains xref:clauses/index.adoc#writing-clauses[writing clauses], such as `CREATE (n) RETURN n`
145
+
** Read queries, which contain none of the above clauses, such as `MATCH (n) RETURN n`
141
146
142
-
** Operations on graphs.
143
-
** Schema commands.
144
-
** Administration commands.
145
-
146
-
It is not possible to combine any of these workloads in a single DBMS transaction.
147
+
[NOTE]
148
+
====
149
+
Calling procedures on the system database does not count as an administration command.
150
+
The query will be categorized either as a read or write query depending on the defined mode of the procedure.
151
+
For more information, see the link:{neo4j-docs-base-uri}/operations-manual/current/procedures[Operations Manual -> Procedures.]
0 commit comments