Hi devs,

A customer and I have some troubles with "DB Manager" and "Oracle". Every times we load an SQL query to layer, we get the log message:
* No key field for query given

To verify where the issue comes from, I wrote n python script to test loading an SQL query to layer with a keyColumn specified. I can load the SQL query.

I'd like to know if others have the same issue ?

I didn't know about QStandardItemModel, and I do'nt know if `uniqueFieldName = self.uniqueModel.item(self.uniqueCombo.currentIndex()).data()` well gets defined primary key in dlg_sql_window.sql

Regards,
René-Luc

_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to