Skip to content

feat: Add user suggestions for MySql, role suggestions for PostgreSql #168

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

Merged
merged 7 commits into from
Mar 5, 2024

Conversation

NikitaShkaruba
Copy link
Collaborator

Closes #166

@NikitaShkaruba NikitaShkaruba self-assigned this Mar 4, 2024
@NikitaShkaruba NikitaShkaruba changed the title Add role, user suggestions for all databases Add user suggestions for mysql and clickhouse, role suggestions for postgresql and clickhouse Mar 4, 2024
@NikitaShkaruba NikitaShkaruba changed the title Add user suggestions for mysql and clickhouse, role suggestions for postgresql and clickhouse Add user suggestions for mysql, role suggestions for postgresql Mar 4, 2024
@NikitaShkaruba NikitaShkaruba changed the title Add user suggestions for mysql, role suggestions for postgresql feat: Add user suggestions for MySql, role suggestions for PostgreSql Mar 4, 2024
@@ -37,6 +38,7 @@ export interface PostgreSqlAutocompleteResult extends AutocompleteResultBase {
suggestConstraints?: ConstraintSuggestion;
suggestSequences?: boolean;
suggestSchemas?: boolean;
suggestRoles?: boolean;
}

export interface ClickHouseAutocompleteResult extends AutocompleteResultBase {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately, ClickHouse grammar doesn't have any ROLE, USER references, so we need to write it from scratch. I've created a separate task for it #169

@NikitaShkaruba NikitaShkaruba merged commit f329f54 into main Mar 5, 2024
4 checks passed
@NikitaShkaruba NikitaShkaruba deleted the 166 branch March 5, 2024 10:46
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

Successfully merging this pull request may close these issues.

Add user suggestions for mysql, role suggestions to postgresql
2 participants