Skip to content

Autocompletion of schema names after FROM keyword #109

@amjith

Description

@amjith

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 the dbname and 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions