Closed teaguesterling closed 5 months ago
Using the duckdb functions and information_schema tables addresses views, but does not (yet) identify foreign keys or primary keys. There is also still work to do on DuckDB "nested" types which are somewhat hard to get details on.
The
SQLITE_SCHEMA
table does include views, but only with their defining DDL and not the underlying schema.It would be particularly helpful to be able be able to use views (such as those created off of external data sources) as part of the GraphQL schema. This would require either "peeking" at the data or, preferably, replacing the use of the
SQLITE_SCHEMA
with theinformation_schema
tables to get the previously identified schemas of views.