FireDAC.Phys.MongoDBWrapper.TMongoConnection.NewSession

From RAD Studio API Documentation
Jump to: navigation, search

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.

See Also