I have a layer saved to spatialite which I want to query and save part of to csv.
Even the query result takes a very long time to load to the browser (2.5M rows) even if I load it without geometry.
Is there a way to use the SQL engine DB Manager has to save the query result to file?
I already tried the sqlite way with the example I found here.
and the COPY TO way PostgreSQL uses specified here.
Is there another way I am missing? I thought QGIS DB Manager uses an SQLite engine.
Using QGIS 3.2.1 on Windows.