Nyall Dawson
046883fa9c
Promote QgsWkbTypes enums to enum class, move to Qgis
2023-02-22 12:39:21 +10:00
Nyall Dawson
108934648f
Add method to get list of supported related table types for a connection
2022-12-01 12:03:12 +10:00
Nyall Dawson
026f3cdf7b
Add api to retrieve illegal field names via connections api
2022-12-01 06:56:24 +10:00
Nyall Dawson
7a3a57a562
Add API to retrieve relationship capabilities for a provider connection
2022-12-01 06:56:03 +10:00
Nyall Dawson
30899be07d
Add update and delete relationship api
2022-11-30 11:27:37 +10:00
Nyall Dawson
ff3048d19a
[api] Add method for creating relationship to QgsAbstractDatabaseProviderConnection
...
and implement for OGR provider when built on GDAL >= 3.6
2022-11-30 11:27:37 +10:00
Nyall Dawson
44361ba352
Add flag to opt into including system tables in QgsAbstractDatabaseProviderConnection tables listings
2022-11-29 10:20:46 +01:00
Alessandro Pasotti
0c577f07ba
Merge pull request #50015 from elpaso/layer-metadata-provider
...
Layer metadata provider API (part 1)
2022-09-01 13:58:22 +02:00
Alessandro Pasotti
eb76172122
Raise proper exceptions from search
2022-09-01 11:32:13 +02:00
Alessandro Pasotti
fa55567ecf
Rename QgsLayerMetadataSearchResults
2022-09-01 08:21:15 +02:00
Nyall Dawson
2aa753cb72
Typo
2022-09-01 08:55:08 +10:00
Alessandro Pasotti
b87ae9053f
Refactoring after PR review
2022-08-31 18:57:04 +02:00
Nyall Dawson
73692a6a41
Create QgsProviderSqlQueryBuilder
...
QgsProviderSqlQueryBuilder provides an interface for creation of SQL queries, which
can be overridden for backend provider specific SQL syntax.
Initially add a virtual method for creation of row limited select *
queries.
2022-08-28 15:37:15 +10:00
Nyall Dawson
7236b50930
Add QgsAbstractDatabaseProviderConnection interface for retrieving relationships for a database
2022-08-02 15:44:40 +10:00
Nyall Dawson
6dfa7e260c
Make provider connection multi type handling more granualar, and use
...
new API in GDAL 3.6 to determine whether or not the multi
linestring/polygon types should be exposed for new table creation
2022-08-01 13:18:58 +10:00
Nyall Dawson
7da574fe36
Add QgsAbstractDatabaseProviderConnection interface for renaming fields
...
And implement for OGR connections. Also expose the ability to rename
existing fields for supported database connections via browser.
2022-07-18 17:26:13 +10:00
Nyall Dawson
8dc9635dbc
Only offer to create supported domain types
2022-07-13 06:44:58 +10:00
Julien Cabieces
012b6a46db
constify methods
2022-04-29 08:21:47 +10:00
Nyall Dawson
c264eb50f5
Clarify removal
2022-02-20 06:48:03 +10:00
Nyall Dawson
063e059359
Add API to QgsAbstractDatabaseProviderConnection to create new field
...
domains on a database and set field domain associated with a field
And implement for OGR database provider connection class
2022-02-20 06:48:03 +10:00
Nyall Dawson
8036ea89ed
Add API to retrieve field domain names and definitions to QgsAbstractDatabaseProviderConnection
...
and implement for GPKG connections
2022-02-20 06:48:03 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306
run sipify
2021-10-12 16:34:05 +10:00
Alessandro Pasotti
276d1980f8
Address PR comments and add ENUM for widget mode
2021-07-22 10:18:13 +10:00
Alessandro Pasotti
387c403c2f
First nail in the coffin of DB Manager
...
Replace DB Manager legend custom menu action with
C++ implementation for SQL layer
2021-07-22 10:18:13 +10:00
Nyall Dawson
4bb7f82f2e
[sipify] Add check that doxygen //!< command is only used for enum
...
documentation
sipify can't handle it in other contexts
2021-07-19 16:05:53 +10:00
nirvn
d10695cf77
QMap::unite is gone in Qt6, use QMultiMap
2021-07-17 16:59:20 +07:00
Alessandro Pasotti
878b2436a5
Address PR comments - part 2
2021-07-07 12:43:14 +02:00
Alessandro Pasotti
78a42cf7e8
Address PR comments
2021-07-06 21:02:25 +02:00
Alessandro Pasotti
233a8097ba
Add rowCount to connections API
...
+ fix memory leak in API fetcher
+ add progress bar to result widget
2021-07-06 21:00:54 +02:00
Alessandro Pasotti
9384c78939
Add base tests for create SQL layer
2021-07-06 21:00:54 +02:00
Alessandro Pasotti
927669df2b
Move target to 3.22
2021-07-06 20:59:58 +02:00
Alessandro Pasotti
aa6c1bd5ed
Add flag for select at id in the result dlg
2021-07-06 20:58:36 +02:00
Alessandro Pasotti
27eb5743ad
Provider QSCI APIs for sqlite and PG
2021-07-06 20:58:36 +02:00
Alessandro Pasotti
34c5cdcf2d
Handle fid and geom cols in GPKG exec sql
2021-07-06 20:58:35 +02:00
Alessandro Pasotti
cf260226a3
Create SQL layer and widget config based on enum
2021-07-06 20:56:07 +02:00
Alessandro Pasotti
b988ca87e2
SQL results widget: add query layers support (initial)
2021-07-06 20:53:59 +02:00
Nyall Dawson
81ecf97d0f
Fix PyQGIS docs formatting of QgsAbstractDatabaseProviderConnection class
2021-07-06 18:13:58 +10:00
Nyall Dawson
711a615be3
Fix raises sphinx format
2021-06-25 10:50:04 +10:00
Nyall Dawson
4ff3f447dc
Don't try to insert links in raises blocks in PyQGIS docs
...
These aren't formatted correctly if we do
2021-06-10 11:03:43 +10:00
Nyall Dawson
0c4dd068c4
Move generic provider related files to src/core/providers
...
Minor clean up
2021-05-19 10:16:43 +10:00