Skip to content

Patch file parse error #567

@subashpahari

Description

@subashpahari

@@ -844,10 +844,10 @@ class GEOMETRY extends ABSTRACT {
this.srid = options.srid;
}
_stringify(value, options) {

  • return GeomFromText(${options.escape(wkx.Geometry.parseGeoJSON(value).toWkt())});
  • return ST_GeomFromText(${options.escape(wkx.Geometry.parseGeoJSON(value).toWkt())});
    }
    _bindParam(value, options) {
  • return GeomFromText(${options.bindParam(wkx.Geometry.parseGeoJSON(value).toWkt())});
  • return ST_GeomFromText(${options.bindParam(wkx.Geometry.parseGeoJSON(value).toWkt())});
    }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions