FireDAC.Phys.MongoDBWrapper.TMongoPipeline.TGeoNear.Output
Delphi
function Output(const ADistField: String; const ALocsField: String = ''): TGeoNear;
C++
TMongoPipeline::TGeoNear* __fastcall Output(const System::UnicodeString ADistField, const System::UnicodeString ALocsField = System::UnicodeString());
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TGeoNear |
Description
Specifies the output fields.
Use this method to specify the following output fields:
ADistField
: specifies the output field that contains the calculated distance.ALocsField
: specifies the output field that identifies the location used to calculate the distance.
For more information, see MongoDB documentation.