FireDAC.Phys.MongoDBWrapper.TMongoPipeline.GeoNear
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
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Group
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Limit
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Match
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Out
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Project
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Redact
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Skip
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Unwind
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.Sort
- FireDAC.Phys.MongoDBWrapper.TMongoPipeline.FinalPipelineBSON