Class GeoNear<T>
Fluent aggregation pipeline builder for GeoNear
Inheritance
Object
GeoNear<T>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: MongoDB.Entities
Assembly: MongoDB.Entities.dll
Syntax
public class GeoNear<T>
where T : IEntity
Type Parameters
Name | Description |
---|---|
T | The type of entity |
Properties
distanceField
Declaration
public string distanceField { get; set; }
Property Value
Type | Description |
---|---|
String |
distanceMultiplier
Declaration
[BsonIgnoreIfNull]
public double? distanceMultiplier { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Double> |
includeLocs
Declaration
[BsonIgnoreIfNull]
public string includeLocs { get; set; }
Property Value
Type | Description |
---|---|
String |
key
Declaration
[BsonIgnoreIfNull]
public string key { get; set; }
Property Value
Type | Description |
---|---|
String |
limit
Declaration
[BsonIgnoreIfNull]
public int? limit { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
maxDistance
Declaration
[BsonIgnoreIfNull]
public double? maxDistance { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Double> |
minDistance
Declaration
[BsonIgnoreIfNull]
public double? minDistance { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Double> |
near
Declaration
public Coordinates2D near { get; set; }
Property Value
Type | Description |
---|---|
Coordinates2D |
query
Declaration
[BsonIgnoreIfNull]
public BsonDocument query { get; set; }
Property Value
Type | Description |
---|---|
BsonDocument |
spherical
Declaration
public bool spherical { get; set; }
Property Value
Type | Description |
---|---|
Boolean |