FireDAC.Phys.MongoDBWrapper.TMongoDatabase.CreateCollection
Delphi
procedure CreateCollection(const AName: String; AOptions: TMongoDocument);
C++
void __fastcall CreateCollection(const System::UnicodeString AName, TMongoDocument* AOptions);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoDatabase |
Description
Creates a collection in the current database with the specified name and options.
For information about the options that the AOptions
document may contain, see db.createCollection(), MongoDB Manual.