KDbAdminTools
KDbAdminTools Class Reference
#include <KDbAdmin.h>
Inheritance diagram for KDbAdminTools:

Public Member Functions | |
virtual bool | vacuum (const KDbConnectionData &data, const QString &databaseName) |
![]() | |
KDbResultable (const KDbResultable &other) | |
void | clearResult () |
KDbMessageHandler * | messageHandler () const |
KDbResultable & | operator= (const KDbResultable &other) |
KDbResult | result () const |
virtual QString | serverResultName () const |
void | setMessageHandler (KDbMessageHandler *handler) |
void | showMessage () |
Additional Inherited Members | |
![]() | |
Private *const | d |
KDbResult | m_result |
Detailed Description
An interface containing a set of tools for database administration.
Can be implemented in database drivers.
- See also
- KDbDriver::adminTools
Definition at line 30 of file KDbAdmin.h.
Constructor & Destructor Documentation
◆ KDbAdminTools()
KDbAdminTools::KDbAdminTools | ( | ) |
Definition at line 32 of file KDbAdmin.cpp.
◆ ~KDbAdminTools()
|
override |
Definition at line 37 of file KDbAdmin.cpp.
Member Function Documentation
◆ vacuum()
|
virtual |
Performs vacuum (compacting) for connection data. Can be implemented for your driver. Note: in most cases the database should not be opened.
Currently it is implemented for SQLite drivers.
- Returns
- true on success, false on failure (then you can get error status from the KDbAdminTools object).
Definition at line 42 of file KDbAdmin.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:50:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 28 2025 11:50:43 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.