Skip to content

Commit 94f65f7

Browse files
add back lost query tags
1 parent 0ea2d07 commit 94f65f7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

modules/ROOT/pages/functions/temporal/index.adoc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,10 +1394,12 @@ The returned `ZONED DATETIME` will be the live clock of the system.
13941394
======
13951395
13961396
.Query
1397+
// tag::functions_temporal_datetime_realtime[]
13971398
[source, cypher]
13981399
----
13991400
RETURN datetime.realtime() AS currentDateTime
14001401
----
1402+
// end::functions_temporal_datetime_realtime[]
14011403
14021404
.Result
14031405
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -1430,10 +1432,12 @@ However, a different value may be produced for different statements within the s
14301432
======
14311433
14321434
.Query
1435+
// tag::functions_temporal_datetime_statement[]
14331436
[source, cypher]
14341437
----
14351438
RETURN datetime.statement() AS currentDateTime
14361439
----
1440+
// end::functions_temporal_datetime_statement[]
14371441
14381442
.Result
14391443
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -1466,10 +1470,12 @@ However, a different value may be produced for different transactions.
14661470
======
14671471
14681472
.Query
1473+
// tag::functions_temporal_datetime_transaction[]
14691474
[source, cypher]
14701475
----
14711476
RETURN datetime.transaction() AS currentDateTime
14721477
----
1478+
// end::functions_temporal_datetime_transaction[]
14731479
14741480
.Result
14751481
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -1975,10 +1981,12 @@ The returned `LOCAL DATETIME` will be the live clock of the system.
19751981
======
19761982
19771983
.Query
1984+
// tag::functions_temporal_localdatetime_realtime[]
19781985
[source, cypher]
19791986
----
19801987
RETURN localdatetime.realtime() AS now
19811988
----
1989+
// end::functions_temporal_localdatetime_realtime[]
19821990
19831991
.Result
19841992
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -2035,10 +2043,12 @@ However, a different value may be produced for different statements within the s
20352043
======
20362044
20372045
.Query
2046+
// tag::functions_temporal_localdatetime_statement[]
20382047
[source, cypher]
20392048
----
20402049
RETURN localdatetime.statement() AS now
20412050
----
2051+
// end::functions_temporal_localdatetime_statement[]
20422052
20432053
.Result
20442054
[role="queryresult",options="header,footer",cols="1*<m"]
@@ -2071,10 +2081,13 @@ However, a different value may be produced for different transactions.
20712081
======
20722082
20732083
.Query
2084+
// tag::functions_temporal_localdatetime_transaction[]
20742085
[source, cypher]
20752086
----
20762087
RETURN localdatetime.transaction() AS now
20772088
----
2089+
// end::functions_temporal_localdatetime_transaction[]
2090+
20782091
20792092
.Result
20802093
[role="queryresult",options="header,footer",cols="1*<m"]

0 commit comments

Comments
 (0)