Hi,
Try this:

final List<OrientVertex> result = functionDijkstra.execute(null, null, 
null, new Object[] { s, e, "'weight'", "both" } }, new 
OBasicCommandContext());

Lvc@

On Tuesday, 24 March 2015 19:33:01 UTC-3, sck2015 wrote:
>
> hi everyone, can someone tell me the correct syntax to pass a direction to 
> the osqlfunctiondijkstra execute, this is failing:
>
>   Vertex s, e;
>   final List<OrientVertex> result = functionDijkstra.execute(null, null, 
> null, new Object[] { s, e, "'weight'", new Object [] {"'both'" } }, new 
> OBasicCommandContext());
>

-- 

--- 
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.

Reply via email to