Visitar URL original
docs: the endpoints of an edge are @out and @in; plain out and in read as null (ArcadeData/arcadedb#10684) by tae898 · Pull Request #507 · ArcadeData/arcadedb-docs · GitHub
Skip to content

docs: the endpoints of an edge are @out and @in; plain out and in read as null (ArcadeData/arcadedb#10684) - #507

Merged
robfrank merged 1 commit into
ArcadeData:mainfrom
tae898:docs/10684-edge-out-in
Oct 28, 2026
Merged

robfrank merged 1 commit into
ArcadeData:mainfrom
tae898:docs/10684-edge-out-in

Conversation

@tae898

@tae898 tae898 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Fixes ArcadeData/arcadedb#10684.

The record attributes table of the SQL WHERE page listed @this, @rid, @size and @type but not the endpoints of an edge. This adds @out and @in to it, says that they are links (@out.name reads a property of the vertex), and says that plain out and in are not fields of an edge and read as null, without an error, with outV() and inV() as the function forms.

Checked on a 26.11.1-SNAPSHOT build of ArcadeData/arcadedb main (c69898d) with vertex types A and B and one edge E from an A to a B:

Query Result
SELECT out.id FROM E {"out.id": null}
SELECT in.name FROM E {"in.name": null}
SELECT out FROM E {"out": null}
SELECT @out FROM E {"@out": "#1:0"}
SELECT @out.id FROM E {"@out.id": 1}
SELECT @in.name FROM E {"@in.name": "x"}
SELECT outV().id FROM E {"outV().id": 1}
SELECT FROM E WHERE @out.id = 1 the edge
SELECT FROM E WHERE out.id = 1 no row

The issue offered two fixes, a docs line or an error on out / in of an edge type with no such property. This is the docs line. The error would change behaviour and is not part of this PR.

🤖 Generated with Claude Code

…d in read as null

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@robfrank
robfrank merged commit e2ddb4a into ArcadeData:main Oct 28, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SQL on an edge: out and in silently return null (the endpoints are @out / @in); a docs line or an error would help

2 participants