Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for CodeMirror's sqlhint #308

Closed
5 tasks
arikfr opened this issue Oct 15, 2014 · 0 comments · Fixed by #399
Closed
5 tasks

Add support for CodeMirror's sqlhint #308

arikfr opened this issue Oct 15, 2014 · 0 comments · Fixed by #399

Comments

@arikfr
Copy link
Member

arikfr commented Oct 15, 2014

Apparently CodeMirror has SQLHint plugin (http://codemirror.net/doc/manual.html#addon_sql-hint):

A simple SQL hinter. Defines CodeMirror.hint.sql. Takes two optional options, tables, a object with table names as keys and array of respective column names as values, and defaultTable, a string corresponding to a table name in tables for autocompletion.

It will be really cool to add support for this.

  • Update CodeMirror version
  • Add API endpoint that will return database schema per data source.
  • Wire this API with SQL hint.
  • ...
  • Profit!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant