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

Handle query autocomplete starting with SELECT #591

Open
Westwooo opened this issue Mar 3, 2025 · 0 comments
Open

Handle query autocomplete starting with SELECT #591

Westwooo opened this issue Mar 3, 2025 · 0 comments

Comments

@Westwooo
Copy link
Contributor

Westwooo commented Mar 3, 2025

For the new query autocomplete feature we start with FROM instead of SELECT, e.g: FROM collection SELECT ....

This is because we need to know the collection being queried before we can give a list of the fields the user may like to retrieve. The issue with this is that it is likely not going to be expected by users with prior n1ql experience, since they will expect to start with a SELECT. We should add a SELECT command that autofills the field to * then have it proceed as FROM does after that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant