here's my query but it does not show anything on the map.
json_build_object('type', 'Polygon','geometry', ST_AsGeoJSON(ST_Transform(geom, 4326))::json)::text as geojson
any idea?