FireDAC.Phys.MongoDBWrapper.TMongoDatabase.GetCollection

提供:RAD Studio API Documentation

Delphi

function GetCollection(const AColName: String): TMongoCollection;

C++

TMongoCollection* __fastcall GetCollection(const System::UnicodeString AColName);

プロパティ

種類 可視性 ソース ユニット
function public
FireDAC.Phys.MongoDBWrapper.pas
FireDAC.Phys.MongoDBWrapper.hpp
FireDAC.Phys.MongoDBWrapper TMongoDatabase


説明

指定された名前を持つ、データベースのコレクションを返します。

GetCollection から取得したコレクション オブジェクトについては、ユーザーに破壊の責任があります。接続オブジェクト所有者をコレクション オブジェクトにしたい場合には、コレクション オブジェクトを Collections プロパティから代わりに取得します。

関連項目