Hi all, do not know if this is the correct way of doing it, but I am currently trying to create an edge between two vertices (of different types) that have a common vertex between them. I seem to not be understanding the syntax correctly and have errors. Can someone point me in the right direction? Thanks in advance.
what’s the schema of KNOWS?
Based on the tutorial
The VALUES clause in your INSERT statement should share the same schema of KNOWS edge.
Please post your DDL of the graph schema, and the error you are getting.
@mingxiwu we figured it out. You need to add the edge to the schema before you can use the INSERT of an edge in your GSQL.
great. we are schema first database.