<div dir="ltr"><div>Hi Raymond and Alessandro,</div><div><br></div><div>I would just like to add that I miss multiple SQL statements/SQL script execution in current implementation, and I've already created a feature request on this topic in GDAL/OGR:</div><div><a href="https://github.com/OSGeo/gdal/issues/11279">https://github.com/OSGeo/gdal/issues/11279</a></div><div><br></div><div>I think that these proposals are super useful features and I think that this is a good topic for QEP or for independent funding campain.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">pet, 17. lis 2025. u 10:09 Alessandro Pasotti via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org">qgis-developer@lists.osgeo.org</a>> napisao je:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi Raymond,</div><div><br></div><div>The long-term goal is still to replace the python implementation of DB manager with a C++ core implementation accessible from the browser, we are not there yet but significant steps in that direction have been made.</div><div><br></div><div>Regarding your issues, I think the first step is to add your enhancement/bugfixing requests and specify when they are related to a specific provider (GPKG -> OGR).</div><div><br></div><div>Please note that in the filtered list of existing issues there are a few unrelated ones (there is a processing algorithm with a similar name).</div><div><br></div><div>Kind regards.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 16, 2025 at 1:22 PM Raymond Nijssen via QGIS-Developer <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear devs,<br>
<br>
Lately I've been working with the Execute SQL tool on gpkg database <br>
files, cause I'm trying to switch from the DB Manager to the QGIS native <br>
tool. I was told the DB Manager is going to be deprecated in the near <br>
future. Is that the goal?<br>
I'm wondering if other people are using the 'Execute SQL' tool as well, <br>
as I'm not really satisfied with the current functionality and I cannot <br>
find any complains in the mailing list or github issues.<br>
<br>
Some problems I encounter:<br>
* The result table is (randomly?) not showing the FID or other PK <br>
columns, nor the geometry column. But those are often important while <br>
writing SQL queries.<br>
* Loading the QueryLayer always creates a multigeometry layer not <br>
showing anything on the map. (Btw I think QGIS should be able to render <br>
multigeometries, or at least to set a 'point', 'line' or 'polygon' style <br>
to the multigeometry layer to force it rendering that type.)<br>
* The cursor somehow jumps randomly to other lines when (re)focusing on <br>
the SQL S<br>
* The clear button works *very* well, when you accidentally press it you <br>
loose the entire query without warning and ctrl-Z won't bring it back.<br>
* The error widget is large and leaving only a few lines of the SQL <br>
editor to find an fix my error. The splitter between them does not show <br>
the handle for resizing the widgets.<br>
<br>
If developers are interested in fixing this, please let me know. I'm <br>
happy to help and test and I can also try finding some funding for this.<br>
<br>
For me, a more productive SQL tool in QGIS would be:<br>
* In a dockable panel<br>
* Connected to one or more layers that update every time I execute my <br>
SQL (like the map in DBeaver)<br>
<br>
QGIS could be the best geo SQL editor in the world!<br>
<br>
There are current issues:<br>
<a href="https://github.com/qgis/QGIS/issues?q=is%3Aissue%20state%3Aopen%20%27execute%20sql%27" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS/issues?q=is%3Aissue%20state%3Aopen%20%27execute%20sql%27</a><br>
<br>
Should I add all mine?<br>
<br>
Kind regards,<br>
Raymond<br>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Alessandro Pasotti</div><div>QCooperative:  <a href="https://www.qcooperative.net" target="_blank">www.qcooperative.net</a><br></div>ItOpen:   <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr">Srdačan pozdrav / Kind regards,<div>Vedran Stojnović.</div></div></div>