Search for usage in LXR

KDbAdminTools Class Reference

#include <KDbAdmin.h>

Inheritance diagram for KDbAdminTools:

Public Member Functions

virtual bool vacuum (const KDbConnectionData &data, const QString &databaseName)
- Public Member Functions inherited from KDbResultable
 KDbResultable (const KDbResultable &other)
void clearResult ()
KDbMessageHandlermessageHandler () const
KDbResultableoperator= (const KDbResultable &other)
KDbResult result () const
virtual QString serverResultName () const
void setMessageHandler (KDbMessageHandler *handler)
void showMessage ()

Additional Inherited Members

- Protected Attributes inherited from KDbResultable
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

Definition at line 30 of file KDbAdmin.h.

Member Function Documentation

◆ vacuum()

bool KDbAdminTools::vacuum ( const KDbConnectionData data,
const QString databaseName 

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.

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-2022 The KDE developers.
Generated on Sat Sep 24 2022 04:07:21 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.