FireDAC.Phys.MongoDBWrapper.TMongoEnv

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTMongoEnv

Delphi

TMongoEnv = class(TObject)

C++

class PASCALIMPLEMENTATION TMongoEnv : public System::TObject

Properties

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

Description

Defines a service object that groups together references to the client libraries, an error handling object, the character set encoders, a tracer, and others.

Do not create an instance of TMongoEnv directly. Instead, use the one from the Env property of a MongoDB connection.

Note: At all times, a single TMongoEnv object and all other objects that share the same TMongoEnv object must be used by a single thread.