I couldn\'t find a solution to my problem. In Postgres I make the query below:
SELECT * FROM pgr_dijkstra(\' SELECT gid AS id, source, target, length AS cost FROM