dirt-simple-postgis-http-api icon indicating copy to clipboard operation
dirt-simple-postgis-http-api copied to clipboard

Should /list_tables list views, too?

Open rmx90210 opened this issue 1 year ago • 0 comments

I noticed the Swagger docs say that /list_tables shows views as well:

Screenshot 2024-03-10 at 12 44 27 PM

however I'm not seeing views that my Dirt user has select permissions on.

I took a look a the /list_tables code and it looks like it's indeed only looking at tables. I don't have a strong use case for listing views right now so it's not an issue on my end — just wanted to flag that the docs may be out of step with the code.

rmx90210 avatar Mar 10 '24 17:03 rmx90210