mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Update connector.py
This commit is contained in:
parent
8ed7971626
commit
68c541b969
@ -742,7 +742,7 @@ class PostGisDBConnector(DBConnector):
|
|||||||
|
|
||||||
self._commit()
|
self._commit()
|
||||||
|
|
||||||
def commentTable(self, schema, tablename, comment=None, db):
|
def commentTable(self, schema, tablename, db, comment=None):
|
||||||
if comment == None:
|
if comment == None:
|
||||||
db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS NULL;'.format(schema, tablename))
|
db.connector._execute(None, 'COMMENT ON TABLE "{0}"."{1}" IS NULL;'.format(schema, tablename))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user