FireDAC.Phys.MongoDBWrapper.TMongoCollection.LastID

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property LastID: Variant read FLastID;

C++

__property System::Variant LastID = {read=FLastID};

Properties

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

Description

Object ID of the last document that you insert into the collection.

TMongoCollection updates the value of LastID after each call to Insert, regardless of whether that call submits the changes to the database or is part of a bulk operation.