Skip to content

Commit 82a5bf7

Browse files
committed
feat: add st functions
1 parent 70fda56 commit 82a5bf7

File tree

8 files changed

+604
-59
lines changed

8 files changed

+604
-59
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,14 @@ console.log(query6.sql, query6.parameters);
112112
- boundary(geo column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Boundary.html)
113113
- buffer(geo column | GeoJSON /_object, string_/, radius), see [postgis documentation](https://postgis.net/docs/ST_Buffer.html)
114114
- centroid(geo column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Centroid.html)
115+
- contains(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Contains.html)
116+
- covers(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Covers.html)
117+
- crosses(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Crosses.html)
118+
- dWithin(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/, distance number), see [postgis documentation](https://postgis.net/docs/ST_DWithin.html)
119+
- difference(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Difference.html)
120+
- disjoint(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Disjoint.html)
121+
- distance(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Distance.html)
122+
- distanceSphere(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Distance_Sphere.html)
123+
- equals(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Equals.html)
115124
- geomFromGeoJSON(GeoJSON /_object, string or column name_/), see [postgis documentation](https://postgis.net/docs/ST_GeomFromGeoJSON.html)
116125
- geomFromText(WKT string, { srid? }), see [postgis documentation](http://www.postgis.net/docs/ST_GeomFromText.html)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kysely-postgis",
3-
"version": "0.3.3",
3+
"version": "0.4.0",
44
"description": "PostGis extension for Kysely",
55
"repository": "https://github.com/K4ST0R/kysely-postgis.git",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)