prestodb / presto-js-client

Monorepo for Presto JavaScript packages
Apache License 2.0
10 stars 2 forks source link

Include catalog and schema fetching functions #13

Closed alonsovb closed 10 months ago

alonsovb commented 10 months ago

The client should include a method for retrieving the database's catalog and schemas, which just executes a SHOW CATALOGS and SHOW SCHEMAS query underneath. If possible, we should make use of the parameters from both of those statements.