FireDAC.Phys.MongoDBWrapper.TMongoDatabase.HasCollection

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also