FireDAC.Phys.MongoDB.TFDPhysMongoDriverLink

From Appmethod Libraries
Jump to: navigation, search

FireDAC.Phys.TFDPhysDriverLinkFireDAC.Stan.Intf.TFDComponentSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTFDPhysMongoDriverLink

Object Pascal

TFDPhysMongoDriverLink = class(TFDPhysDriverLink)

C++

class PASCALIMPLEMENTATION TFDPhysMongoDriverLink : public Firedac::Phys::TFDPhysDriverLink

Properties

Type Visibility Source Unit Parent
class public
FireDAC.Phys.MongoDB.pas
FireDAC.Phys.MongoDB.hpp
FireDAC.Phys.MongoDB FireDAC.Phys.MongoDB

Description

Use the TFDPhysMongoDriverLink component to link the MongoDB driver to an application and set it up.

Use the TFDPhysMongoDriverLink component to link the MongoDB driver to an application. In general, it is enough to include the FireDAC.Phys.MongoDB unit into the uses clause of your application.

The TFDPhysMongoDriverLink component may be used to specify:

  • VendorHome - the MongoDB database installation root folder.
  • VendorLib - the name and optional path to the MongoDB client library.

All properties have default values appropriate for most cases. To have an effect, all property changes must be performed before the first connection through this driver or using the Release method.

Example

FDPhysFBDriverLink1.VendorLib := 'C:\Windows\system32\libmongoc-1.0.dll ';

See Also