prorm API Reference
    Preparing search index...

    Interface WithinOptions

    Options for within/contains queries

    interface WithinOptions {
        geometry: string | { type: GeometryType; coordinates: number[] };
        srid?: number;
    }
    Index
    geometry: string | { type: GeometryType; coordinates: number[] }

    The geometry to check against

    srid?: number

    SRID for the geometry (default: 4326)