KDbInternalTableSchema

Search for usage in LXR

KDbInternalTableSchema Class Reference

#include <KDbTableSchema.h>

Inheritance diagram for KDbInternalTableSchema:

Public Member Functions

 KDbInternalTableSchema (const KDbInternalTableSchema &ts)
 
 KDbInternalTableSchema (const KDbTableSchema &ts)
 
 KDbInternalTableSchema (const QString &name)
 
- Public Member Functions inherited from KDbTableSchema
 KDbTableSchema (const KDbObject &object)
 
 KDbTableSchema (const KDbTableSchema &ts, bool copyId)
 
 KDbTableSchema (const KDbTableSchema &ts, int id)
 
 KDbTableSchema (const QString &name)
 
bool addIndex (KDbIndexSchema *index)
 
KDbFieldanyNonPKField ()
 
void clear () override
 
KDbIndexSchemacopyIndexFrom (const KDbIndexSchema &index)
 
QDebug debugFields (QDebug dbg) const
 
const QList< KDbIndexSchema * > * indices () const
 
const QList< KDbIndexSchema * >::ConstIterator indicesIterator () const
 
bool insertField (int index, KDbField *field) override
 
bool isInternal () const
 
QVector< KDbLookupFieldSchema * > lookupFields () const
 
KDbLookupFieldSchemalookupFieldSchema (const KDbField &field)
 
const KDbLookupFieldSchemalookupFieldSchema (const KDbField &field) const
 
KDbLookupFieldSchemalookupFieldSchema (const QString &fieldName)
 
KDbIndexSchemaprimaryKey ()
 
const KDbIndexSchemaprimaryKey () const
 
KDbQuerySchemaquery ()
 
bool removeField (KDbField *field) override
 
bool removeIndex (KDbIndexSchema *index)
 
bool setLookupFieldSchema (const QString &fieldName, KDbLookupFieldSchema *lookupFieldSchema)
 
void setPrimaryKey (KDbIndexSchema *pkey)
 
- Public Member Functions inherited from KDbFieldList
 KDbFieldList (bool owner=false)
 
 KDbFieldList (const KDbFieldList &fl, bool deepCopyFields=true)
 
virtual ~KDbFieldList ()
 
bool addField (KDbField *field)
 
KDbField::ListautoIncrementFields () const
 
virtual KDbFieldfield (const QString &name)
 
virtual const KDbFieldfield (const QString &name) const
 
virtual KDbFieldfield (int id)
 
virtual const KDbFieldfield (int id) const
 
int fieldCount () const
 
KDbField::Listfields ()
 
const KDbField::Listfields () const
 
KDbField::ListIterator fieldsIterator () const
 
KDbField::ListIterator fieldsIteratorConstEnd () const
 
bool hasField (const KDbField &field) const
 
int indexOf (const KDbField &field) const
 
bool isEmpty () const
 
bool isOwner () const
 
virtual bool moveField (KDbField *field, int newIndex)
 
QStringList names () const
 
bool renameField (const QString &oldName, const QString &newName)
 
bool renameField (KDbField *field, const QString &newName)
 
KDbEscapedString sqlFieldsList (KDbConnection *conn, const QString &separator=QLatin1String(","), const QString &tableOrAlias=QString(), KDb::IdentifierEscapingType escapingType=KDb::DriverEscaping) const
 
KDbFieldListsubList (const QList< int > &list)
 
KDbFieldListsubList (const QList< QByteArray > &list)
 
KDbFieldListsubList (const QString &n1, const QString &n2=QString(), const QString &n3=QString(), const QString &n4=QString(), const QString &n5=QString(), const QString &n6=QString(), const QString &n7=QString(), const QString &n8=QString(), const QString &n9=QString(), const QString &n10=QString(), const QString &n11=QString(), const QString &n12=QString(), const QString &n13=QString(), const QString &n14=QString(), const QString &n15=QString(), const QString &n16=QString(), const QString &n17=QString(), const QString &n18=QString())
 
KDbFieldListsubList (const QStringList &list)
 
- Public Member Functions inherited from KDbObject
 KDbObject (int type)
 
QString captionOrName () const
 

Additional Inherited Members

- Static Public Member Functions inherited from KDbFieldList
static KDbEscapedString sqlFieldsList (const KDbField::List &list, KDbConnection *conn, const QString &separator=QLatin1String(","), const QString &tableOrAlias=QString(), KDb::IdentifierEscapingType escapingType=KDb::DriverEscaping)
 
- Public Attributes inherited from KDbObject
QString caption
 
QString description
 
int id
 
QString name
 
int type
 
- Protected Member Functions inherited from KDbTableSchema
 KDbTableSchema (KDbConnection *conn, const QString &name=QString())
 
KDbConnectionconnection () const
 
void setConnection (KDbConnection *conn)
 
- Protected Member Functions inherited from KDbObject

Detailed Description

Internal table with a name name. Rarely used. Use KDbConnection::createTable() to create a table using this schema. The table will not be visible as user table. For example, 'kexi__blobs' table is created this way by Kexi application.

Definition at line 209 of file KDbTableSchema.h.

Constructor & Destructor Documentation

◆ KDbInternalTableSchema() [1/3]

KDbInternalTableSchema::KDbInternalTableSchema ( const QString & name)
explicit

Definition at line 435 of file KDbTableSchema.cpp.

◆ KDbInternalTableSchema() [2/3]

KDbInternalTableSchema::KDbInternalTableSchema ( const KDbTableSchema & ts)
explicit

Definition at line 441 of file KDbTableSchema.cpp.

◆ KDbInternalTableSchema() [3/3]

KDbInternalTableSchema::KDbInternalTableSchema ( const KDbInternalTableSchema & ts)

Definition at line 447 of file KDbTableSchema.cpp.

◆ ~KDbInternalTableSchema()

KDbInternalTableSchema::~KDbInternalTableSchema ( )
override

Definition at line 453 of file KDbTableSchema.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:08 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.