Skip to content

Commit ba95540

Browse files
committed
Improve view doc
1 parent 35cb1f1 commit ba95540

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

hugo/content/usage/collections.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ explicitly set the SRID of the created geometry.
7272
#### *Example of a spatial view definition*
7373
```sql
7474
CREATE VIEW my_points AS
75-
SELECT ST_SetSRID(
76-
ST_MakePoint( lon, lat ), 4326)::geometry(Point, 4326) AS geom
75+
SELECT ST_Point( lon, lat, 4326)::geometry(Point, 4326) AS geom
7776
FROM my_geo_table AS t;
7877
```
7978

0 commit comments

Comments
 (0)