fix: 500 errors on uppercase table names (#285) (h/t @kzima)

This commit is contained in:
Kris Zima 2021-11-26 21:08:23 +08:00 committed by GitHub
parent 7bcb7d2773
commit d9c1cba1e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
SELECT SELECT
ST_AsMVTGeom (ST_Transform (ST_CurveToLine({geometry_column}), 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {schema}.{table}, bounds ST_AsMVTGeom (ST_Transform (ST_CurveToLine({geometry_column}), 3857), {mercator_bounds}, {extent}, {buffer}, {clip_geom}) AS geom {properties} FROM {schema}."{table}", bounds
WHERE WHERE
{geometry_column} && bounds.srid_{srid} {geometry_column} && bounds.srid_{srid}