17 Commits

Author SHA1 Message Date
Alessandro Pasotti
878b2436a5 Address PR comments - part 2 2021-07-07 12:43:14 +02:00
Alessandro Pasotti
24a9c1a17a FetchMore API Override 2021-07-06 21:00:55 +02:00
Alessandro Pasotti
06495f05f5 Final touches 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
d819069598 Revert to conn pool 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
eea1eb48fa Fetch more in the model 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
2c9662bcf1 Truncating localized delegate + optimization 2021-07-06 21:00:54 +02:00
Alessandro Pasotti
4201942bdd Rebase 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
b988ca87e2 SQL results widget: add query layers support (initial) 2021-07-06 20:53:59 +02:00
Alessandro Pasotti
079264ebc4 Message bar and other improvements: working! 2021-07-06 20:52:19 +02:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Alessandro Pasotti
2d7991619f Fix QgsQueryResultModel crash 2021-01-15 14:35:21 +01:00
Alessandro Pasotti
337c7c301b Removed sophisticated implementation
Store rows in the model, remove rewind and random access from
query result class.

This implementation is way simpler but the (forward) iterator
can be used only once.

I'm still convinced that the old implementation was better and more
flexible but I need to move forward.

Client code will need to store the results from the iterator.
2021-01-13 11:44:56 +01:00
Alessandro Pasotti
322a925b2e flake8 2021-01-13 09:40:11 +01:00
Alessandro Pasotti
3b7cc2434a Query result model threaded fetcher
plus: independent iterators and rewind
2021-01-13 09:40:11 +01:00
Alessandro Pasotti
a717bc7f94 Doxy and new at() method 2021-01-13 09:39:01 +01:00
Alessandro Pasotti
ea72ab92bf QgsQueryResultModel
A model for QgsAbstractDatabaseProviderConnection::QueryResult
2021-01-13 09:39:01 +01:00