FireDAC.Phys.MongoDBWrapper.TMongoDatabase.HasCollection
Delphi
function HasCollection(const AName: String): Boolean;
C++
bool __fastcall HasCollection(const System::UnicodeString AName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoDatabase |
Description
Returns True
if a collection with the specified name exists in the database. It returns False
otherwise.