mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 04:41:46 +03:00
b3fb720a94
If a PostgreSQL function has an SQL comment, it will try to parse as JSON and use its values to override the auto-generated TileJSON. It is recommended to use this form when creating comments to ensure valid JSON values. ```sql DO $do$ BEGIN EXECUTE 'COMMENT ON FUNCTION YOUR_FUNCTION (ARG1_TYPE,ARG2_TYPE,..ARGN_TYPE) IS $tj$' || $$ { "description": "description override", ... } $$::json || '$tj$'; END $do$; ``` Partially implements #822 |
||
---|---|---|
.. | ||
function_Mixed_Name.sql | ||
function_null_row2.sql | ||
function_null_row.sql | ||
function_null.sql | ||
function_zoom_xy.sql | ||
function_zxy2.sql | ||
function_zxy_query_jsonb.sql | ||
function_zxy_query_test.sql | ||
function_zxy_query.sql | ||
function_zxy_row_key.sql | ||
function_zxy_row.sql | ||
function_zxy.sql |