#include <mymoneystoragesql.h>
Public Member Functions | |
MyMoneyDbIndex (const QString &table, const QString &name, const QStringList &columns, bool unique=false) | |
MyMoneyDbIndex () | |
const QString | table () const |
bool | isUnique () const |
const QString | name () const |
const QStringList | columns () const |
const QString | generateDDL (databaseTypeE dbType) const |
Private Attributes | |
QString | m_table |
bool | m_unique |
QString | m_name |
QStringList | m_columns |
At this time, different types of index are not supported, since the portability is fairly limited.
MyMoneyDbIndex::MyMoneyDbIndex | ( | const QString & | table, | |
const QString & | name, | |||
const QStringList & | columns, | |||
bool | unique = false | |||
) | [inline] |
MyMoneyDbIndex::MyMoneyDbIndex | ( | ) | [inline] |
const QString MyMoneyDbIndex::table | ( | ) | const [inline] |
bool MyMoneyDbIndex::isUnique | ( | ) | const [inline] |
const QString MyMoneyDbIndex::name | ( | void | ) | const [inline] |
const QStringList MyMoneyDbIndex::columns | ( | ) | const [inline] |
const QString MyMoneyDbIndex::generateDDL | ( | databaseTypeE | dbType | ) | const |
QString MyMoneyDbIndex::m_table [private] |
bool MyMoneyDbIndex::m_unique [private] |
QString MyMoneyDbIndex::m_name [private] |
QStringList MyMoneyDbIndex::m_columns [private] |