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
Uh oh!
There was an error while loading. Please reload this page.
-
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
outandinproperties. While in OrientDBoutandinare real properties in the document, with ArcadeDB are managed in binary form (much faster), but then exposed to the users as respectively@outand@inmetadata.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 meanFriendedge type can only connectAccountto anotherAccount.Beta Was this translation helpful? Give feedback.
All reactions