Akonadi
dbintrospector.h
virtual bool hasTable(const QString &tableName)
Returns true if table tableName exists.
Definition: dbintrospector.cpp:46
A structure describing an existing foreign key.
Definition: dbintrospector.h:30
virtual bool isTableEmpty(const QString &tableName)
Check whether table tableName is empty, ie.
Definition: dbintrospector.cpp:82
virtual QVector< ForeignKey > foreignKeyConstraints(const QString &tableName)
Returns the foreign key constraints on table tableName.
Definition: dbintrospector.cpp:95
virtual QString hasIndexQuery(const QString &tableName, const QString &indexName)
Returns a query string to determine if tableName has an index indexName.
Definition: dbintrospector.cpp:101
static DbIntrospector::Ptr createInstance(const QSqlDatabase &database)
Returns an introspector instance for a given database.
Definition: dbintrospector.cpp:21
QSqlDatabase m_database
The database connection we are introspecting.
Definition: dbintrospector.h:101
DbIntrospector(const QSqlDatabase &database)
Creates a new database introspector, call from subclass.
Definition: dbintrospector.cpp:37
virtual bool hasColumn(const QString &tableName, const QString &columnName)
Check whether table tableName has a column named columnName.
Definition: dbintrospector.cpp:60
Methods for introspecting the current state of a database schema.
Definition: dbintrospector.h:24
Helper integration between Akonadi and Qt.
virtual bool hasIndex(const QString &tableName, const QString &indexName)
Returns true of the given table has an index with the given name.
Definition: dbintrospector.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jun 27 2022 04:01:06 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.