FireDAC.Phys.SQLite.TFDSQLiteValidate.CheckOnly
Delphi
function CheckOnly: Boolean;
C++
bool __fastcall CheckOnly();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FireDAC.Phys.SQLite.pas FireDAC.Phys.SQLite.hpp |
FireDAC.Phys.SQLite | TFDSQLiteValidate |
Description
Starts the read-only validate database task.
Use the CheckOnly method to start the read-only validate database task.
To perform a validation task an application must specify the connection parameters and Database. This is a programmatic method to invoke the PRAGMA integrity_check command.
CheckOnly method returns True when database has no errors or warning, otherwise - False. To receive the found issues use the OnProgress event handler.