observablehq / stdlib

The Observable standard library.
https://observablehq.com/@observablehq/standard-library
ISC License
966 stars 83 forks source link

Split schema function into describeSchema and describeTable #288

Closed annie closed 2 years ago

annie commented 2 years ago

Wiltse's PR updates the DatabaseClient schema API to contain two separate functions for fetching the schema information: describeSchema and describeTable. We'll want SQLiteDatabaseClient to be consistent with that as well.

This is still in draft since Wiltse's PR isn't merged yet and the API is still subject to change.