FireDAC.Stan.Option.TFDSecurityOptions.ExactUpdatedRecsNum
Delphi
property ExactUpdatedRecsNum: Integer read GetExactUpdatedRecsNum
C++
__property int ExactUpdatedRecsNum = {read=GetExactUpdatedRecsNum, write=SetExactUpdatedRecsNum, stored=IsEURNS, default=-1};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | FireDAC.Stan.Option.pas FireDAC.Stan.Option.hpp |
FireDAC.Stan.Option | TFDSecurityOptions |
Description
Allows FireDAC to limit SQL update operations to a specified number of records.
When ExactUpdatedRecsNum is greater than zero, then the SQL operation is atomic. So, when the number of updated records does not match the specified value, the full operation is reverted.
ExactUpdatedRecsNum default value is -1 (i.e., is disabled by default).