Hi guys,

I have a graph database with Vertices and Edges. When I try to execute the 
following code:

graph.command(
  new OSQLAsynchQuery<Vertex>("select from MyVertex", new 
OCommandResultListener() {
    public boolean result(Object iRecord) {
      Vertex doc = graph.getVertex(iRecord);
      System.out.println("V " + doc);
      for (Edge e : doc.getEdges(Direction.BOTH)) {
        System.out.println("E " + e);
      }
      return true;
    }
    
    public void end() {
    // TODO Auto-generated method stub
    }
 })).execute();


I cannot see any edge printed. Any idea?

Thanks,
Fabrizio

-- 

--- 
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/groups/opt_out.

Reply via email to