FireDAC.Phys.MongoDBWrapper.TMongoConnection.NewSession
Delphi
function NewSession: TMongoSession;
C++
TMongoSession* __fastcall NewSession();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.MongoDBWrapper.pas FireDAC.Phys.MongoDBWrapper.hpp |
FireDAC.Phys.MongoDBWrapper | TMongoConnection |
Description
Creates a new MongoDB session associated with this connection. The session may be assigned to TMongoCollection.Session to make collection operations participating in the session. After the usage, the session instance must be released.