FireDAC.Phys.MongoDBWrapper.TMongoQuery.Project
Delphi
function Project(const AJSON: String = ''): TProjection;
C++
TProjection* __fastcall Project(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 | TMongoQuery |
Description
Returns a reference to a projection builder, which specifies the fields to return using projection operators. Optionally, you may specify a JSON string that represents a projection.
For more information, refer to MongoDB documentation.