kexi
KexiDB::TableOrQuerySchema Class Reference
#include <utils.h>
Detailed Description
Variant class providing a pointer to table or query.
Definition at line 136 of file kexidb/utils.h.
Public Member Functions | |
TableOrQuerySchema (Connection *conn, const QCString &name, bool table) | |
TableOrQuerySchema (FieldList &tableOrQuery) | |
TableOrQuerySchema (Connection *conn, int id) | |
TableOrQuerySchema (TableSchema *table) | |
TableOrQuerySchema (QuerySchema *query) | |
QuerySchema * | query () const |
TableSchema * | table () const |
QCString | name () const |
QString | captionOrName () const |
const QueryColumnInfo::Vector | columns (bool unique=false) |
Field * | field (const QString &name) |
QueryColumnInfo * | columnInfo (const QString &name) |
Connection * | connection () const |
QString | debugString () |
void | debug () |
Protected Attributes | |
QCString | m_name |
TableSchema * | m_table |
QuerySchema * | m_query |
Constructor & Destructor Documentation
|
Creates a new TableOrQuerySchema variant object, retrieving table or query schema using conn connection and name.
Definition at line 185 of file kexidb/utils.cpp. |
|
Creates a new TableOrQuerySchema variant object. tableOrQuery must be of class TableSchema or QuerySchema. Definition at line 198 of file kexidb/utils.cpp. |
|
Creates a new TableOrQuerySchema variant object, retrieving table or query schema using conn connection and id.
Definition at line 207 of file kexidb/utils.cpp. |
Member Function Documentation
|
Definition at line 253 of file kexidb/utils.cpp. |
|
Like Field* field(const QString& name); but returns all information associated with field/column name. Definition at line 271 of file kexidb/utils.cpp. |
|
Definition at line 232 of file kexidb/utils.cpp. |
|
Definition at line 299 of file kexidb/utils.cpp. |
|
Shows debug information about table or query. Definition at line 291 of file kexidb/utils.cpp. |
|
Definition at line 282 of file kexidb/utils.cpp. |
|
Definition at line 261 of file kexidb/utils.cpp. |
|
Definition at line 244 of file kexidb/utils.cpp. |
|
Definition at line 154 of file kexidb/utils.h. |
|
Definition at line 157 of file kexidb/utils.h. |
Member Data Documentation
|
the name is kept here because m_table and m_table can be 0 and we still want name() and acptionOrName() work.
Definition at line 186 of file kexidb/utils.h. |
The documentation for this class was generated from the following files: