FireDAC.Phys.MongoDBWrapper.TMongoSession
Delphi
TMongoSession = class(TMongoObject)
C++
class PASCALIMPLEMENTATION TMongoSession : public TMongoObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | FireDAC.Phys.MongoDBWrapper |
Description
Encapsulates MongoDB mongoc_session_t structure and represents a MongoDB session.
A session allows to set the options and control MongoDB transactions. TMongoConnection.NewSession method creates a new session and associates it with a collection using TMongoCollection.Session property.