FireDAC.Phys.MongoDBWrapper.TMongoDatabase.GetCollection
Delphi
function GetCollection(const AColName: String): TMongoCollection;
C++
TMongoCollection* __fastcall GetCollection(const System::UnicodeString AColName);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoDatabase |
Beschreibung
Gibt eine Sammlung der Datenbank mit dem angegebenen Namen zurück.
Sie sind selbst für die Freigabe aller Sammlungsobjekte, die Sie aus GetCollection abrufen, verantwortlich. Wenn das Verbindungsobjekt der Besitzer des Sammlungsobjekts sein soll, dann rufen Sie Ihr Sammlungsobjekt aus der Eigenschaft Kollektionen ab.