Code: Select all
SELECT seq, id1 AS node, id2 AS edge, cost FROM pgr_dijkstra('
SELECT gid AS id,
source::integer,
target::integer,
length::double precision AS cost
FROM ways',
30, 60, false, false);Code: Select all
SELECT param1 , param2
Code: Select all
SELECT seq, id1 AS node, id2 AS edge
Code: Select all
ASpart ?
Also is the below a subquery ?? and can somebody explain it ? I am not very clear with the below query.
Code: Select all
(' SELECT gid AS id,
source::integer,
target::integer,
length::double precision AS cost
FROM ways',
30, 60, false, false);
got the above query from here http://workshop.pgrouting.org/chapters/ ... h-dijkstra