Skip to content

Commit

Permalink
Fix where clause error
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankApiyo committed May 4, 2024
1 parent c7a2696 commit f14a777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/mvt.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const sql = (params, query) => {
${query.id_column ? `, ${query.id_column}` : ''}
FROM
mvtgeom2,
(SELECT ST_SRID(${process.env.TABLE_COLUMN}) AS srid FROM mvtgeom2 WHERE ${process.env.TABLE_COLUMN} LIMIT 1) a
(SELECT ST_SRID(${process.env.TABLE_COLUMN}) AS srid FROM mvtgeom2 LIMIT 1) a
WHERE
ST_Intersects(
${process.env.TABLE_COLUMN},
Expand Down

0 comments on commit f14a777

Please sign in to comment.