javeme commented on issue #2067:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2067#issuecomment-1383153310

   we can just correct the schema:
   
   for example:
   ```java
   schema.edgeLabel('el6').link('vl3', 'vl7').ifNotExist().create();
   
   
g.addV('vl7').property('vp1','1918971386').property(T.id,'676416097557151744')
    .addV('vl3').property('vp1','5*5ja').property(T.id,'676416097351630848')
   
   // Error: Undefined link of edge label 'el6': 'vl7' -> 'vl3'
   
g.addE('el6').from(vertex('676416097557151744')).to(vertex('676416097351630848'))
   ```
   `schema.edgeLabel('el6').link('vl3', 'vl7').ifNotExist().create()` can be 
changed to `schema.edgeLabel('el6').link('vl7', 'vl3',).ifNotExist().create()`, 
note that an edge label contains the direction.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to