How to load Postgres QgsVectorLayer

后端 未结 0 1426
醉酒成梦
醉酒成梦 2021-02-06 02:44

I have a QGIS script that I am trying to load a vector layer that is stored in a Postgres database. When I print the layer\'s isValid() method I get False. Here is my code:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题