Versions in this module Expand all Collapse all v0 v0.1.0 Aug 23, 2026 Changes in this version + const TypeName + var Deriveds = []Derived + var Ops = []Op + func BBoxSQL(minX, minY, maxX, maxY string, srid int, f Flavour) string + func DerivedSuffixes() []string + func DistanceSQL(col, geom string) string + func IsSpatial(pgType string) bool + func KNNSQL(col, geom string) string + func OpNames() []string + func OpsDoc() string + func OutputSQL(ref string) string + func SimplifySQL(ref, tolerance string, f Flavour) string + func TransformSQL(ref string, srid int, f Flavour) string + type ArgKind int + const ArgBBox + const ArgBoolean + const ArgDWithin + const ArgGeometry + type Derived struct + Description string + GeoJSON bool + Suffix string + Type string + func DerivedBySuffix(suffix string) (Derived, bool) + func (d Derived) SQL(ref string, f Flavour) string + type Flavour int + const Geography + const Geometry + const NotSpatial + func FlavourOf(pgType string) Flavour + func (f Flavour) MetresNative() bool + func (f Flavour) Spatial() bool + func (f Flavour) String() string + type Op struct + Arg string + Description string + Geography bool + Index bool + Name string + func OpByName(name string) (Op, bool) + func (o Op) Kind() ArgKind + func (o Op) Render(col, geom string, extra ...string) string + type Value struct + Flavour Flavour + Param string + SRID int + func Parse(v any, f Flavour) (Value, error) + func (v Value) SQL(placeholder string) string