You can use the 'Execute SQL' algorithm from Processing Toolbox to run the SQL query. You can trigger any processing algorithm from an Action that will run on any platform. Example of how to run a processing algorithm from a Python Action https://courses.spatialthoughts.com/qgis-actions.html#creati
Hi,
I'm trying to create an action to run an SQL on a spatialite database & show
the result as a QGIS action.
In Linux this works by running a script in an xterm, but I can't work out how
to do something similar under widows.
Any suggestions?
Thanks
Brent Wood
Principal Technician, Fisherie