I want to create an action that select many rows from PostGIS table to show many lines in QGIS.
How can I select many rows from table with Python to add these rows in a layer?
I want to create an action that select many rows from PostGIS table to show many lines in QGIS.
How can I select many rows from table with Python to add these rows in a layer?
assigning an Action Type of Python you can add multiple column field values (separated with a space), as follows:
u'[% "col_name1" %]' + " " + u'[% "col_name2" %]'
if you need to add data from numerous rows and create a new table view in QGIS, you should think about creating a plugin