Skip to content

Commit

Permalink
feat: add st functions
Browse files Browse the repository at this point in the history
  • Loading branch information
K4ST0R committed Sep 17, 2024
1 parent 70fda56 commit 82a5bf7
Show file tree
Hide file tree
Showing 8 changed files with 604 additions and 59 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,14 @@ console.log(query6.sql, query6.parameters);
- boundary(geo column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Boundary.html)
- buffer(geo column | GeoJSON /_object, string_/, radius), see [postgis documentation](https://postgis.net/docs/ST_Buffer.html)
- centroid(geo column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Centroid.html)
- contains(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Contains.html)
- covers(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Covers.html)
- crosses(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Crosses.html)
- dWithin(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/, distance number), see [postgis documentation](https://postgis.net/docs/ST_DWithin.html)
- difference(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Difference.html)
- disjoint(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Disjoint.html)
- distance(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Distance.html)
- distanceSphere(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Distance_Sphere.html)
- equals(geoa column | GeoJSON /_object, string_/, geob column | GeoJSON /_object, string_/), see [postgis documentation](https://postgis.net/docs/ST_Equals.html)
- geomFromGeoJSON(GeoJSON /_object, string or column name_/), see [postgis documentation](https://postgis.net/docs/ST_GeomFromGeoJSON.html)
- geomFromText(WKT string, { srid? }), see [postgis documentation](http://www.postgis.net/docs/ST_GeomFromText.html)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kysely-postgis",
"version": "0.3.3",
"version": "0.4.0",
"description": "PostGis extension for Kysely",
"repository": "https://github.com/K4ST0R/kysely-postgis.git",
"main": "dist/index.js",
Expand Down
Loading

0 comments on commit 82a5bf7

Please sign in to comment.