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