File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1123,9 +1123,9 @@ void QgsSpatiaLiteProvider::determineViewPrimaryKey()
1123
1123
}
1124
1124
}
1125
1125
1126
- QList<QString> QgsSpatiaLiteProvider::tablePrimaryKeys ( const QString tableName ) const
1126
+ QStringList QgsSpatiaLiteProvider::tablePrimaryKeys ( const QString & tableName ) const
1127
1127
{
1128
- QList<QString> result;
1128
+ QStringList result;
1129
1129
const QString sql = QStringLiteral ( " PRAGMA table_info(%1)" ).arg ( QgsSqliteUtils::quotedIdentifier ( tableName ) );
1130
1130
char **results = nullptr ;
1131
1131
int rows;
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ class QgsSpatiaLiteProvider: public QgsVectorDataProvider
202
202
void determineViewPrimaryKey ();
203
203
204
204
// ! Returns primary key(s) from a table name
205
- QList<QString> tablePrimaryKeys ( const QString tableName ) const ;
205
+ QStringList tablePrimaryKeys ( const QString & tableName ) const ;
206
206
207
207
// ! Check if a table/view has any triggers. Triggers can be used on views to make them editable.
208
208
bool hasTriggers ();
You can’t perform that action at this time.
0 commit comments