mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Clean up the DBBrowserDB class a bit
This commit is contained in:
@@ -118,6 +118,16 @@ QStringList Table::fieldList() const
|
||||
return sl;
|
||||
}
|
||||
|
||||
QStringList Table::fieldNames() const
|
||||
{
|
||||
QStringList sl;
|
||||
|
||||
foreach(FieldPtr f, m_fields)
|
||||
sl << f->name();
|
||||
|
||||
return sl;
|
||||
}
|
||||
|
||||
bool Table::hasAutoIncrement() const
|
||||
{
|
||||
foreach(FieldPtr f, m_fields) {
|
||||
|
||||
Reference in New Issue
Block a user