I have a QGIS project with some layers without geometry. I develop a QGIS plugin. I want to get all my layers by:
but I get only layers with geometry. How I can get layers without geometry?
My no-geometry layers are just tables in a database. I could connect to the database in order to access data but I would like to know whether it is possible to access them as QGIS layers (in analogous way to QgsVectorLayers).