Hierarchy

  • GeoNear

Properties

Properties

$geoNear: {
    distanceField: string;
    distanceMultiplier?: number;
    includeLocs?: string;
    key?: string;
    maxDistance?: number;
    minDistance?: number;
    near: [number, number] | {
        coordinates: [number, number];
        type: "Point";
    };
    num?: number;
    query?: AnyObject;
    spherical?: boolean;
}

Type declaration

  • distanceField: string
  • Optional distanceMultiplier?: number
  • Optional includeLocs?: string
  • Optional key?: string
  • Optional maxDistance?: number
  • Optional minDistance?: number
  • near: [number, number] | {
        coordinates: [number, number];
        type: "Point";
    }
  • Optional num?: number

    Deprecated. Use only with MondoDB below 4.2 (removed in 4.2)

    Deprecated

  • Optional query?: AnyObject
  • Optional spherical?: boolean

Generated using TypeDoc