FireDAC.Phys.MongoDBWrapper.TMongoConnection.GetCollection
Delphi
function GetCollection(const ADBName, AColName: String): TMongoCollection;
C++
TMongoCollection* __fastcall GetCollection(const System::UnicodeString ADBName, const System::UnicodeString AColName);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoConnection |
説明
指定された名前を持つデータベースに存在する、指定された名前の MongoDB サーバーのコレクションを返します。
GetCollection から取得したコレクション オブジェクトについては、ユーザーに破壊の責任があります。 接続オブジェクトの所有者をコレクション オブジェクトにしたい場合には、コレクション オブジェクトを Collections プロパティから代わりに取得します。