LiteDAC

TLiteLoader.AutoCommit Property

Used to automatically perform a commit after loading a certain amount of records.

Class

TLiteLoader

Syntax

property AutoCommit: boolean;

Remarks

Use the AutoCommit property to control whether a commit will be performed automatically after loading a number of records, specified by the TLiteLoader.AutoCommitRowCount property. When the property is set to True, a transaction implicitly starts before loading the block of records and commits automatically after records were loaded. This significantly increases the performance in the case of loading a large amount of records, as it is described in the SQLite documentation: http://www.sqlite.org/faq.html#q19 .

The default value is True.

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback