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

Adding mysql 5.7 and 8.0 keywords and functions for auto-completion #767

Open
wants to merge 1 commit into
base: master
from

Conversation

@laoshaw
Copy link

laoshaw commented Aug 18, 2019

Description

Added keywords and json functions from mysql 5.7 and 8.0 for auto-completion

Checklist

  • I've added this contribution to the changelog.md. -- not seen this file
  • I've added my name to the AUTHORS file (or it's already there). -- change too small to be added
@tsroten
Copy link
Member

tsroten commented Aug 25, 2019

@laoshaw Thanks for this pull request! We really appreciate this. I'm going to leave a few comments on this for some things that might need updating.

'USING', 'VALUES', 'VARCHAR', 'VIEW', 'WHEN', 'WHERE', 'WITH',
'JSON', 'ISNULL', 'GREATEST', 'LEAST', 'BLOB', 'BIT', 'OPAQUE',
'DATETIME', 'BOOLEAN', 'ARRAY', 'OBJECT', 'STRING', 'DOUBLE', 'NULL',
'ENUM', 'TEXT']

This comment has been minimized.

@tsroten

tsroten Aug 25, 2019

Member

Can we move ISNULL, GREATEST, and LEAST down to the function list?

'JSON_MERGE_PATCH', 'JSON_MERGE_PRESERVE', 'JSON_OBJECT', 'JSON_PRETTY',
'JSON_QUOTE', 'JSON_REMOVE', 'JSON_REPLACE', 'JSON_SEARCH', 'JSON_SET',
'JSON_STORAGE_SIZE', 'JSON_TYPE', 'JSON_UNQUOTE', 'JSON_VALID',
'JSON_ARRAYAVG', 'JSON_OBJECTAVG', 'JSON_OVERLAPS', 'JSON_SCHEMA_VALID',

This comment has been minimized.

@tsroten

tsroten Aug 25, 2019

Member

Did you mean JSON_ARRAYAGG and JSON_OBJECTAGG?

'JSON_STORAGE_SIZE', 'JSON_TYPE', 'JSON_UNQUOTE', 'JSON_VALID',
'JSON_ARRAYAVG', 'JSON_OBJECTAVG', 'JSON_OVERLAPS', 'JSON_SCHEMA_VALID',
'JSON_SCHEMA_VALIDATION_REPORT', 'JSON_STORAGE_FREE', 'JSON_TABLE',
'MEMBER_OF']

This comment has been minimized.

@tsroten

tsroten Aug 25, 2019

Member

MEMBER_OF() looks like it should be two words (MEMBER OF()).

@tsroten
Copy link
Member

tsroten commented Aug 25, 2019

Also, do you think we could put the new suggestions in alphabetical order with the old ones? It definitely makes it easier for developers to find things in the list when we need to make changes, etc.

@amjith
Copy link
Member

amjith commented Apr 19, 2020

@laoshaw Are you still interested in addressing the comments that @tsroten left?

If so, please let us know. I'll keep this PR open for a couple more days.

@laoshaw
Copy link
Author

laoshaw commented Apr 19, 2020

yes I think the new one is better.

@amjith
Copy link
Member

amjith commented Apr 19, 2020

yes I think the new one is better.

I don't understand. Are you saying that you'll create a new PR or will you add more commits to this PR?

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

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.