KDb
KDbTableSchema.cpp
65 KDbQuerySchema *query; //!< cached query schema that is defined by "select * from <this_table_name>"
373bool KDbTableSchema::setLookupFieldSchema(const QString& fieldName, KDbLookupFieldSchema *lookupFieldSchema)
417 QHash<const KDbField*, KDbLookupFieldSchema*>::ConstIterator itMap = d->lookupFields.constFind(f);
Provides database connection, allowing queries and data modification.
Definition KDbConnection.h:52
Definition KDbFieldList.h:34
KDbField::ListIterator fieldsIterator() const
Definition KDbFieldList.cpp:340
KDbField::ListIterator fieldsIteratorConstEnd() const
Definition KDbFieldList.cpp:345
virtual bool insertField(int index, KDbField *field)
Definition KDbFieldList.cpp:123
Provides information about database index that can be created for a database table.
Definition KDbIndexSchema.h:40
void setTable(KDbTableSchema *table)
Assigns this index to table table() must be nullptr and table must be not be nullptr.
Definition KDbIndexSchema.cpp:113
Definition KDbTableSchema.h:210
Provides information about lookup field's setup.
Definition KDbLookupFieldSchema.h:124
Definition KDbObject.shared.h:32
KDbQuerySchema provides information about database query.
Definition KDbQuerySchema.h:46
Definition KDbTableSchema.h:38
QVector< KDbLookupFieldSchema * > lookupFields() const
Definition KDbTableSchema.cpp:406
void setConnection(KDbConnection *conn)
Definition KDbTableSchema.cpp:346
KDbLookupFieldSchema * lookupFieldSchema(const KDbField &field)
Definition KDbTableSchema.cpp:388
KDbIndexSchema * copyIndexFrom(const KDbIndexSchema &index)
Definition KDbTableSchema.cpp:204
bool removeField(KDbField *field) override
Definition KDbTableSchema.cpp:293
bool removeIndex(KDbIndexSchema *index)
Removes index index from this table schema Ownership of the index is transferred to the table schema.
Definition KDbTableSchema.cpp:195
bool setLookupFieldSchema(const QString &fieldName, KDbLookupFieldSchema *lookupFieldSchema)
Definition KDbTableSchema.cpp:373
void setPrimaryKey(KDbIndexSchema *pkey)
Definition KDbTableSchema.cpp:216
bool insertField(int index, KDbField *field) override
Definition KDbTableSchema.cpp:243
bool addIndex(KDbIndexSchema *index)
Adds index index to this table schema Ownership of the index is transferred to the table schema.
Definition KDbTableSchema.cpp:186
KSERVICE_EXPORT KService::List query(FilterFunc filterFunc)
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
QString name(GameStandardAction id)
QDebug & nospace()
QDebug & space()
ConstIterator
const_iterator constEnd() const const
const_iterator constFind(const Key &key) const const
qsizetype count() const const
iterator insert(const Key &key, const T &value)
bool isEmpty() const const
T take(const Key &key)
T value(const Key &key) const const
ConstIterator
const_reference at(qsizetype i) const const
void clear()
const_iterator constBegin() const const
bool contains(const AT &value) const const
qsizetype count() const const
bool removeOne(const AT &t)
bool hasPrevious() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:11:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:11:01 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.