Get the names of the tables from a database


I am writing a script that will export all the data from a database into Json files.
With the API, I can easily get the column’s name and their values, but can’t get the table’s name!
For instance, I have a table named “People” with its attribute: name, address, age, etc…
I can get the attributes… but I want to get “People”.
So I wrote manually in the script their names, but it’s not very convenient as if, in the future, new tables will be created.
Is there any call I can do with the API? A “get” function or do something with the value of the records received?

I work with node.
Thank you and have a nice day everyone!


This. The lack of method in the API to reach multiple tables at any given time is extremely limiting.