I'm trying to construct a query that creates edges between a specific node and other nodes that match it... I've been looking at the docs on CREATE EDGE <https://orientdb.com/docs/2.2/SQL-Create-Edge.html> but haven't made much progress.
CREATE EDGE myEdge FROM #25:0 TO (SELECT FROM NodeClass2 WHERE Label1 = <source node>.Label1 AND Label2 = <source node>.Label2) and my node #25:0 is of type NodeClass1, but both classes have Label1 and Label2 fields that should be matched. How do get the destination part of the query to reference my source node's fields? I think there's something that needs to go in my <source node> fields above, but it's not $parent or $current... is there another $variable that I can reference to get at this? Thanks! -William -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
