prorm API Reference
    Preparing search index...

    Function Spatial

    • Decorator to mark a field as a spatial column

      Parameters

      • type: SpatialType

        The spatial type (POINT, LINESTRING, POLYGON, etc.)

      • Optionalsrid: number

        Optional SRID (Spatial Reference System Identifier)

      Returns PropertyDecorator