[Qgis-developer] Get table names from postgis database Quantum GIS API

Martin Dobias wonder.sk at gmail.com
Tue Aug 17 14:00:05 EDT 2010


On Fri, Aug 13, 2010 at 12:00 PM, Minja <msiljegovic at gmail.com> wrote:
>
> My Question is is it possible somehow to read from connection string all
> schema names in database or to read all tables which belongs to specific
> schema. I already used some Autodesk APIs and it is implemented....For
> example to loop through all tables that belongs to some schema!

Unfortunately this is currently not possible with QGIS API. You could
check out the source code of PostGIS Manager plugin for an example on
how to get table names and schemas.

Regads
Martin


More information about the Qgis-developer mailing list