2

enter image description here

I am using QGIS 3.0.2

I want to add connection settings in DB Manager via Python script. is it possible ? (I am interested in PostGIS and Oracle Spatial for now)

This script will save the connection setting (except the username and password) and the db manager will reflect the added connection in the respective list

Note: I can use psycopg2 or QGIS native lib but my requirements are to use the default already available tools only.

2

0