Versions in this module Expand all Collapse all v0 v0.1.1 Oct 11, 2026 v0.1.0 Oct 11, 2026 Changes in this version + var ErrGeometryType = errors.New("postgis: geometry must scan from text") + var Extension = pg.Extension + func AsGeoJSON(g sqlb.Expr[Geometry]) sqlb.Expr[string] + func Contains(a, b sqlb.Expr[Geometry]) sqlb.Predicate + func DWithin(a, b sqlb.Expr[Geometry], d sqlb.Expr[float64]) sqlb.Predicate + func Distance(a, b sqlb.Expr[Geometry]) sqlb.Expr[float64] + func DistanceSphere(a, b sqlb.Expr[Geometry]) sqlb.Expr[float64] + func Intersects(a, b sqlb.Expr[Geometry]) sqlb.Predicate + func KNN(a, b sqlb.Expr[Geometry]) sqlb.Expr[float64] + func MakePoint(lon, lat sqlb.Expr[float64], srid int) sqlb.Expr[Geometry] + type Geometry string + func (g *Geometry) Scan(src any) error + func (g Geometry) Value() (driver.Value, error)