FireDAC.Phys.MongoDBWrapper.TMongoDatabase.Dereference
Delphi
function Dereference(const ADBRef: TJsonDBRef): TMongoDocument;
C++
TMongoDocument* __fastcall Dereference(const System::Json::Types::TJsonDBRef &ADBRef);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoDatabase |
Description
Returns a document from the database that matches the specified DBRef.
- Note: The Ref and Id fields of the DBRef must be non-empty strings. DB must either be empty or match the name of this database.