Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
31 changes: 16 additions & 15 deletions modules/ROOT/pages/clauses/transaction-clauses.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ a| The transaction ID. label:default-output[]
m| STRING

m| currentQueryId
a| The ID of the query currently executing in this transaction, or an empty `STRING` if no query is currently executing. label:default-output[]
a| The ID of the query currently executing in this transaction, or `null` if no query is currently executing. label:default-output[]
m| STRING

m| connectionId
a| The ID of the database connection attached to the transaction or an empty `STRING` for embedded connections. label:default-output[]
m| STRING

m| clientAddress
a| The client address of the connection issuing the transaction or an empty `STRING` if unavailable. label:default-output[]
a| The client address of the connection issuing the transaction or `null` if unavailable. label:default-output[]
m| STRING

m| username
a| The username of the user executing the transaction. label:default-output[]
m| STRING

m| currentQuery
a| The query text of the query currently executing in this transaction, or an empty `STRING` if no query is currently executing. label:default-output[]
a| The query text of the query currently executing in this transaction, or `null` if no query is currently executing. label:default-output[]
m| STRING

m| startTime
a| The time at which the transaction was started. label:default-output[]
m| STRING
m| ZONED DATETIME

m| status
a| The current status of the transaction (`Terminated`, `Blocked`, `Closing`, or `Running`). label:default-output[]
Expand All @@ -67,7 +67,7 @@ m| DURATION

m| outerTransactionId
a|
The ID of this transaction's outer transaction, if such exists, otherwise an empty `STRING`.
The ID of this transaction's outer transaction, if such exists, otherwise `null`.
For details, see xref:subqueries/subqueries-in-transactions.adoc[`CALL { ... } IN TRANSACTIONS`].
m| STRING

Expand All @@ -76,27 +76,28 @@ a| Any metadata associated with the transaction, or an empty map if there is non
m| MAP

m| parameters
a| A map containing all the parameters used by the query currently executing in this transaction, or an empty map if no query is currently executing.
a| A map containing all the parameters used by the query currently executing in this transaction, or `null` if no query is currently executing.
m| MAP

m| planner
a|
The name of the Cypher planner used to plan the query currently executing in this transaction, or an empty `STRING` if no query is currently executing.
The name of the Cypher planner used to plan the query currently executing in this transaction, or `null` if no query is currently executing.
For details, see xref::planning-and-tuning/query-tuning.adoc#cypher-planner[Cypher planner].
m| STRING

m| runtime
a| The name of the Cypher runtime used by the query currently executing in this transaction, or an empty `STRING` if no query is currently executing. For details, see xref::planning-and-tuning/runtimes/index.adoc[Cypher runtime].
a| The name of the Cypher runtime used by the query currently executing in this transaction, or `null` if no query is currently executing.
For details, see xref::planning-and-tuning/runtimes/index.adoc[Cypher runtime].
m| STRING

m| indexes
a| The indexes utilised by the query currently executing in this transaction, or an empty list if no query is currently executing.
a| The indexes utilised by the query currently executing in this transaction, or `null` if no query is currently executing.
m| LIST<MAP>


m| currentQueryStartTime
a| The time at which the query currently executing in this transaction was started, or an empty `STRING` if no query is currently executing.
m| STRING
a| The time at which the query currently executing in this transaction was started, or `null` if no query is currently executing.
m| ZONED DATETIME

m| protocol
a|
Expand All @@ -111,7 +112,7 @@ m| STRING


m| currentQueryStatus
a| The current status of the query currently executing in this transaction (`parsing`, `planning`, `planned`, `running`, or `waiting`), or an empty `STRING` if no query is currently executing.
a| The current status of the query currently executing in this transaction (`parsing`, `planning`, `planned`, `running`, or `waiting`), or `null` if no query is currently executing.
m| STRING

m| statusDetails
Expand Down Expand Up @@ -249,8 +250,8 @@ SHOW TRANSACTIONS
|===
| database | transactionId | currentQueryId | connectionId | clientAddress | username | currentQuery | startTime | status | elapsedTime

| "neo4j" | "neo4j-transaction-6" | "query-664" | "" | "" | "" | "SHOW TRANSACTIONS" | "2022-06-14T10:02:45.568Z" | "Running" | PT0.038S
| "neo4j" | "neo4j-transaction-4" | "query-663" | "" | "" | "" | "MATCH (n) RETURN n" | "2022-06-14T10:02:45.546Z" | "Running" | PT0.06S
| "neo4j" | "neo4j-transaction-6" | "query-664" | "" | null | "" | "SHOW TRANSACTIONS" | "2022-06-14T10:02:45.568Z" | "Running" | PT0.038S
| "neo4j" | "neo4j-transaction-4" | "query-663" | "" | null | "" | "MATCH (n) RETURN n" | "2022-06-14T10:02:45.546Z" | "Running" | PT0.06S

10+d|Rows: 2
|===
Expand Down Expand Up @@ -325,7 +326,7 @@ SHOW TRANSACTIONS "neo4j-transaction-3"
|===
| database | transactionId | currentQueryId | connectionId | clientAddress | username | currentQuery | startTime | status | elapsedTime

| "neo4j" | "neo4j-transaction-3" | "query-1" | "" | "" | "" | "MATCH (n) RETURN n" | "2021-10-20T08:29:39.423Z" | "Running" | PT2.603S
| "neo4j" | "neo4j-transaction-3" | "query-1" | "" | null | "" | "MATCH (n) RETURN n" | "2021-10-20T08:29:39.423Z" | "Running" | PT2.603S

10+d|Rows: 1
|===
Expand Down
Loading