Replies: 2 comments 4 replies
-
This would also allow displaying the graph model in Studio (#739) |
Beta Was this translation helpful? Give feedback.
4 replies
-
Moving this discussion to an issue: #1174 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently asked on Discord, but discussed in many other topics and issues, we'd need a way to create constraints for edges so they can be attached only to specific vertex types.
The most natural way to achieve this is to mimic what OrientDB does: create constraints on
out
andin
properties. While in OrientDBout
andin
are real properties in the document, with ArcadeDB are managed in binary form (much faster), but then exposed to the users as respectively@out
and@in
metadata.To provide constraints on edge we could simply allow the following syntax
alter property Friend.@out linkedtype Account;alter property Friend.@in linkedtype Account
(in OrientDB wasLINKEDCLASS
). This would meanFriend
edge type can only connectAccount
to anotherAccount
.Beta Was this translation helpful? Give feedback.
All reactions