Skip to content

docs: to_json_list() gives ISO text for a top-level date of an openCypher RETURN - #546

Merged
tae898 merged 1 commit into
mainfrom
docs/453-to-json-list-cypher
Nov 30, 2026
Merged

tae898 merged 1 commit into
mainfrom
docs/453-to-json-list-cypher

Conversation

@tae898

@tae898 tae898 commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

What does this PR do?

The to_json_list() item on the how-to page says a DATE or DATETIME is a number of epoch milliseconds. That has one exception: a date or datetime property that an openCypher RETURN gives as a column of its own is ISO text, on both arcadedb-jvm and arcadedb. This PR says so. It changes no code and no output.

Related issues

Refs #453

Docs

docs/modules/ROOT/pages/how-to/databases-and-queries.adoc only. The docstrings are in the code and stay as they are.

How I checked it: I ran to_json_list() on CI wheels built from main at 0d4b99e6a2 (arcadedb-jvm on engine 26.12.1-SNAPSHOT, arcadedb on engine 26.11.1), and both returned ISO text for the top-level values and milliseconds inside a list and a map. I built the docs with Antora 3.2.1 (no warnings).

Checklist

  • A regression test fails on the old code and passes on the new (not applicable, documentation only)
  • The test suite that the change can affect passes (no test reads this page)
  • uvx pre-commit run --files <changed files> passes

…openCypher RETURN

The how-to said a DATE or DATETIME is always epoch milliseconds in to_json_list(). On the CI wheels of main both builds return ISO text for such a property as an openCypher column of its own, and milliseconds inside a list or a map. No code and no output changes.

Refs #453
@tae898 tae898 added this to the 26.12.1 milestone Nov 30, 2026
@tae898 tae898 added documentation Improvements or additions to documentation native The arcadedb package (native library build) jvm The arcadedb-jvm package (JPype build) labels Nov 30, 2026
@tae898 tae898 self-assigned this Nov 30, 2026
@tae898
tae898 merged commit ab7a9f1 into main Nov 30, 2026
6 checks passed
@tae898
tae898 deleted the docs/453-to-json-list-cypher branch November 30, 2026 00:23
tae898 added a commit that referenced this pull request Nov 30, 2026
…ed error subclass; to_json() text per build (#549)

#543 and #544 are held for the 26.12.1 decision, so the pages state the
behaviour without them, each with a REMOVE WHEN comment. The which-package
table gains the to_json() row of #545/#546 and points to to_json_list().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation jvm The arcadedb-jvm package (JPype build) native The arcadedb package (native library build)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant