Table of Contents

Class GeoNear<T>

Namespace
MongoDB.Entities
Assembly
MongoDB.Entities.dll

Fluent aggregation pipeline builder for GeoNear

[SuppressMessage("ReSharper", "InconsistentNaming")]
public class GeoNear<T> where T : IEntity

Type Parameters

T

The type of entity

Inheritance
GeoNear<T>
Inherited Members

Properties

distanceField

public string? distanceField { get; set; }

Property Value

string

distanceMultiplier

[BsonIgnoreIfNull]
public double? distanceMultiplier { get; set; }

Property Value

double?

includeLocs

[BsonIgnoreIfNull]
public string? includeLocs { get; set; }

Property Value

string

key

[BsonIgnoreIfNull]
public string? key { get; set; }

Property Value

string

limit

[BsonIgnoreIfNull]
public int? limit { get; set; }

Property Value

int?

maxDistance

[BsonIgnoreIfNull]
public double? maxDistance { get; set; }

Property Value

double?

minDistance

[BsonIgnoreIfNull]
public double? minDistance { get; set; }

Property Value

double?

near

public Coordinates2D? near { get; set; }

Property Value

Coordinates2D

query

[BsonIgnoreIfNull]
public BsonDocument? query { get; set; }

Property Value

BsonDocument

spherical

public bool spherical { get; set; }

Property Value

bool