Skip to content

Commit

Permalink
Update jsoniq-tutorial.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesLichtenberger authored Nov 20, 2023
1 parent 70d0693 commit 5b0a151
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/jsoniq-tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,3 +135,15 @@ Result is:
```

The timestamps are the transactional commit timestamps, the system time when data is known to the system (one axis of the bitemporality).

If we want to search for a specific timestamp, we can for instance specify:

```
jn:open('mycol.jn','resource2',xs:dateTime('2023-11-19T22:23:00'))
```

Result is the second revision (as the third revision was committed one day later):

```json
{"bar":true}
```

0 comments on commit 5b0a151

Please sign in to comment.