FireDAC.Phys.SQLite.TFDSQLiteValidate
Delphi
TFDSQLiteValidate = class (TFDSQLiteService)
C++
class PASCALIMPLEMENTATION TFDSQLiteValidate : public TFDSQLiteService
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FireDAC.Phys.SQLite.pas FireDAC.Phys.SQLite.hpp |
FireDAC.Phys.SQLite | FireDAC.Phys.SQLite |
Description
The class implementing a SQLite database validation service.
Use the TFDSQLiteValidate component to add a database validation capability to an application. This is a programmatic method to invoke the specific SQLite PRAGMA and other commands.
To validate a database an application should:
- Specify DriverLink.
- Specify Database - a database file to validate.
- Call the Analyze. CheckOnly or Sweep method.
To produce a DB validation log, an application should use the OnProgress event. We recommend to use TFDSQLiteValidate, when there are no active connections to a database file.