-
Notifications
You must be signed in to change notification settings - Fork 680
Open
Labels
Description
It should be possible to list other databases as schema names and provide column completions for them.
Caveats:
- This requires fetching all the databases, tables and their columns. Which could get expensive if the user has thousands of databases.
Possible Solutions:
- Fetch the current database information right away. Fetch the rest of the databases lazily after launch. This could also put undue strain on the database.
- Fetch the database metadata on demand. For eg:
SELECT * FROM dbname.will parse thedbnameand fetch the metadata in a background thread. Cache this data for next use. This might feel laggy to the user but the users are programmers, so I'm guessing they'll understand the concept of latency and such.
Reactions are currently unavailable