FireDAC.Phys.MongoDBWrapper.TMongoPipeline.GeoNear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GeoNear(const AJSON: String = ''): TGeoNear;

C++

TGeoNear* __fastcall GeoNear(const System::UnicodeString AJSON = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoPipeline

Description

Returns a reference to the $geoNear stage builder, which outputs documents in order of nearest to farthest from a specified center point.

Optionally, you may set the input parameter AJSON (a JSON string) that represents this stage. For more information, refer to MongoDB documentation.

See Also