Fix wrong table reference in docs

This commit is contained in:
Simon Binder 2022-11-18 17:01:00 +01:00
parent 6512dc1cfc
commit 1ed459c013
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ CREATE TABLE route_points (
/* #enddocregion route_points */
/* #docregion overview */
routesWithPoints: SELECT r.id, r.name, f.*, t.* FROM routes r
routesWithPoints: SELECT r.id, r.name, f.*, t.* FROM saved_routes r
INNER JOIN coordinates f ON f.id = r."from"
INNER JOIN coordinates t ON t.id = r."to";
/* #enddocregion overview */
/* #docregion nested */
routesWithNestedPoints: SELECT r.id, r.name, f.** AS "from", t.** AS "to" FROM routes r
routesWithNestedPoints: SELECT r.id, r.name, f.** AS "from", t.** AS "to" FROM saved_routes r
INNER JOIN coordinates f ON f.id = r."from"
INNER JOIN coordinates t ON t.id = r."to";
/* #enddocregion nested */